]> Lady’s Gitweb - Gitweb/commitdiff
add test files
authorKay Sievers <redacted>
Mon, 14 Nov 2005 04:43:02 +0000 (05:43 +0100)
committerKay Sievers <redacted>
Mon, 14 Nov 2005 04:43:02 +0000 (05:43 +0100)
gitweb.cgi
test/file with spaces [new file with mode: 0644]
test/file+plus+sign [new file with mode: 0644]

index d097f6b77f806e1df0639f0a486b49ef54aa29943e687aaf93103c5d08c17e26..b5b66c0f9a32ccf56b4d7c2e8ddb54fb461e076a8ddfcda7fcc0e41dcec141c4 100755 (executable)
@@ -2047,6 +2047,7 @@ sub git_history {
                              escapeHTML(chop_str($co{'title'}, 50)) . "</b>") . "</td>\n" .
                              "<td class=\"link\">" .
                              $cgi->a({-href => "$my_uri?p=$project;a=commit;h=$commit"}, "commit") .
+                             " | " . $cgi->a({-href => "$my_uri?p=$project;a=commitdiff;h=$commit"}, "commitdiff") .
                              " | " . $cgi->a({-href => "$my_uri?p=$project;a=blob;hb=$commit;f=$file_name"}, "blob");
                        my $blob = git_get_hash_by_path($hash, $file_name);
                        my $blob_parent = git_get_hash_by_path($commit, $file_name);
diff --git a/test/file with spaces b/test/file with spaces
new file mode 100644 (file)
index 0000000..560997e
--- /dev/null
@@ -0,0 +1,4 @@
+This
+filename
+has
+spaces.
diff --git a/test/file+plus+sign b/test/file+plus+sign
new file mode 100644 (file)
index 0000000..9db6e33
--- /dev/null
@@ -0,0 +1,6 @@
+This
+file
+has
++
+plus
+chars.
This page took 0.029521 seconds and 4 git commands to generate.