add test files
Kay Sievers committed
Nov 14, 2005 at 05:43 UTC
cc3245b6512a01d74c0fd460d762ba8a1e8b968a
3 files changed
+11
gitweb.cgi
+1
@@ -2047,6 +2047,7 @@ sub git_history {
2047
escapeHTML(chop_str($co{'title'}, 50)) . "</b>") . "</td>\n" .
2048
"<td class=\"link\">" .
2049
$cgi->a({-href => "$my_uri?p=$project;a=commit;h=$commit"}, "commit") .
2050
+ " | " . $cgi->a({-href => "$my_uri?p=$project;a=commitdiff;h=$commit"}, "commitdiff") .
2051
" | " . $cgi->a({-href => "$my_uri?p=$project;a=blob;hb=$commit;f=$file_name"}, "blob");
2052
my $blob = git_get_hash_by_path($hash, $file_name);
2053
my $blob_parent = git_get_hash_by_path($commit, $file_name);
test/file with spaces
new
+4
@@ -0,0 +1,4 @@
1
+This
2
+filename
3
+has
4
+spaces.
test/file+plus+sign
new
+6
@@ -0,0 +1,6 @@
1
+This
2
+file
3
+has
4
++
5
+plus
6
+chars.