gitweb: Filter out commit ID from @difftree in git_commit and git_commitdiff
commit62fae51dd57b36cfbb25c9ade539ea5a6ef5ad84
authorJakub Narebski <jnareb@gmail.com>
Tue, 24 Oct 2006 11:54:49 +0000 (24 13:54 +0200)
committerJunio C Hamano <junkio@cox.net>
Wed, 25 Oct 2006 04:23:41 +0000 (24 21:23 -0700)
tree9142cb9642e70f4bead8d05bda4d96a84e87a6b1
parentf2069411c9b5b5c99756cdfb2e54a61aef5c9f72
gitweb: Filter out commit ID from @difftree in git_commit and git_commitdiff

Filter out commit ID output that git-diff-tree adds when called with
only one <tree-ish> (not only for --stdin) in git_commit and
git_commitdiff.

This also works with older git versions, which doesn't have
--no-commit-id option to git-diff-tree.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl