Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: [commit view] Do not suppress commitdiff link in root commit
author
Petr Baudis
<pasky@suse.cz>
Fri, 6 Oct 2006 16:59:33 +0000
(18:59 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 7 Oct 2006 09:19:17 +0000
(
02:19
-0700)
There's no reason for that, the commitdiff view is meaningful for the
root commit as well and we link to it everywhere else.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
7e0fe5c
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index c7a245ac2dade108e3ac97403c5c4c86790ac6fc..cdb09c433a5e875ddaf1ef32ab6252ff4c07bc7a 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-2957,7
+2957,7
@@
sub git_commit {
"blame");
}
git_header_html(undef, $expires);
- git_print_page_nav('commit',
defined $co{'parent'} ? '' : 'commitdiff
',
+ git_print_page_nav('commit',
'
',
$hash, $co{'tree'}, $hash,
join (' | ', @views_nav));