]> Lady’s Gitweb - Gitweb/commit
gitweb: Filter out commit ID from @difftree in git_commit and git_commitdiff
authorJakub Narebski <redacted>
Tue, 24 Oct 2006 11:54:49 +0000 (13:54 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit7d6add8b87758a2de2abac61a64863bbd7944482438e869e07712e72afc432e6
tree7f822443cc9c94856a82ecb2a577d8583bbc616340811cbb30101db2027ea302
parent3b4080e31d39e565f235a9bdcc9e6ce54003d5b810664ed9f8a234b110310578
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.302327 seconds and 4 git commands to generate.