diff options
author | Kay Sievers <kay.sievers@suse.de> | 2005-11-14 05:43:02 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@suse.de> | 2005-11-14 05:43:02 +0100 |
commit | cc3245b6512a01d74c0fd460d762ba8a1e8b968a (patch) | |
tree | 92411b2cec15e9f788e96f3b371a3acc95faa675 | |
parent | 5b6dcc3fded7acd02c61c2a10a7f83ced31b4d3e (diff) | |
download | git-cc3245b6512a01d74c0fd460d762ba8a1e8b968a.tar.gz git-cc3245b6512a01d74c0fd460d762ba8a1e8b968a.tar.xz |
add test files
-rwxr-xr-x | gitweb.cgi | 1 | ||||
-rw-r--r-- | test/file with spaces | 4 | ||||
-rw-r--r-- | test/file+plus+sign | 6 |
3 files changed, 11 insertions, 0 deletions
diff --git a/gitweb.cgi b/gitweb.cgi index b8f153788..615af99e2 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -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 index 000000000..e6a87a60e --- /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 new file mode 100644 index 000000000..ab8050ceb --- /dev/null +++ b/test/file+plus+sign @@ -0,0 +1,6 @@ +This +file +has ++ +plus +chars. |