summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b6dcc3)
raw | patch | inline | side by side (parent: 5b6dcc3)
author | Kay Sievers <kay.sievers@suse.de> | |
Mon, 14 Nov 2005 04:43:02 +0000 (05:43 +0100) | ||
committer | Kay Sievers <kay.sievers@suse.de> | |
Mon, 14 Nov 2005 04:43:02 +0000 (05:43 +0100) |
gitweb.cgi | patch | blob | history | |
test/file with spaces | [new file with mode: 0644] | patch | blob |
test/file+plus+sign | [new file with mode: 0644] | patch | blob |
diff --git a/gitweb.cgi b/gitweb.cgi
index b8f153788a882e65ee5f13745a57fc7b9530a6ab..615af99e2caa377112cdcd4691bbc960a6ecac7f 100755 (executable)
--- a/gitweb.cgi
+++ b/gitweb.cgi
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
--- /dev/null
+++ b/test/file with spaces
@@ -0,0 +1,4 @@
+This
+filename
+has
+spaces.
diff --git a/test/file+plus+sign b/test/file+plus+sign
--- /dev/null
+++ b/test/file+plus+sign
@@ -0,0 +1,6 @@
+This
+file
+has
++
+plus
+chars.