gitweb: [commit view] Do not suppress commitdiff link in root commit
PATCH 1/1 gitweb: [commit view] Do not suppress commitdiff link in root commit
There's no reason for that, the commitdiff view is meaningful for the root commit as well and we link to it everywhere else.
---
gitweb/gitweb.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
gitweb/gitweb.perl +1 -1
@@ -3034,7 +3034,7 @@ sub git_commit { $cgi->a({-href => href(action=>"log", hash=>$hash)}, "log"); } 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));
Quoted 2 lines · Petr Baudis
There's no reason for that, the commitdiff view is meaningful for the root commit as well and we link to it everywhere else.
It probably is not any more useful than the blob view but I agree there is no strong reason to supress it, as long as the commitdiff page is prepared to show the root commit (which I haven't checked -- if you have --root you should be Ok).
Quoted 9 lines · Junio C Hamano
Quoted 2 lines · Petr Baudis
There's no reason for that, the commitdiff view is meaningful for the root commit as well and we link to it everywhere else.
It probably is not any more useful than the blob view but I agree there is no strong reason to supress it, as long as the commitdiff page is prepared to show the root commit (which I haven't checked -- if you have --root you should be Ok).
The commitdiff for root commit is much less useful, I think, and not having commitdiff link serves as indicator of root (parentless) commit, important in non-commit views.
Signature · 3 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git
Quoted 2 lines · Petr Baudis
There's no reason for that, the commitdiff view is meaningful for the root commit as well and we link to it everywhere else.
It not used to be. It is since we added '--root' as hash_parent ('hp') parameter for parentless commits.
Signature · 3 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git
Dear diary, on Sat, Oct 07, 2006 at 12:00:29PM CEST, I got a letter where Jakub Narebski <[email protected]> said that...
Quoted 7 lines
Quoted 5 lines · Junio C Hamano
Quoted 2 lines · Petr Baudis
There's no reason for that, the commitdiff view is meaningful for the root commit as well and we link to it everywhere else.
Quoted 8 lines
Quoted 4 lines
It probably is not any more useful than the blob view but I agree there is no strong reason to supress it, as long as the commitdiff page is prepared to show the root commit (which I haven't checked -- if you have --root you should be Ok).
The commitdiff for root commit is much less useful, I think, and not having commitdiff link serves as indicator of root (parentless) commit, important in non-commit views.
But we don't shor commitdiff _only_ (afaics) in the commit view. ;-)
So it doesn't indicate anything anyway.
I personally don't mind looking at mass-addition patches (something
looking at Debian package diffs teaches you), and it's a quick way to see all the files being added to the tree, not browse them blob-by-blob.
Signature · 5 lines
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)