]> Lady’s Gitweb - Gitweb/commit
gitweb: Use --no-commit-id in git_commit and git_commitdiff
authorJakub Narebski <redacted>
Thu, 26 Oct 2006 08:50:20 +0000 (10:50 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commitf788ced94fa628a3b48bee2f65f1d172ec13ba2b210d4ca87ce85ac00e6c05b1
treeb9c47e2334eee488c552272dfd99ab8e8774c59a54076f8eb7ca8ea22ac6bff9
parentaa9bf2a5e50181a0fa3724fdaefdafeaa5756b12818391bd53692119bc80e2e1
gitweb: Use --no-commit-id in git_commit and git_commitdiff

Use --no-commit-id option to git-diff-tree command in git_commit and
git_commitdiff to filter out commit ID output that git-diff-tree adds
when called with only one <tree-ish> (not only for --stdin). Remove
filtering commit IDs from git-diff-tree output.

This option is in git since at least v1.0.0, so make use of it.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.200909 seconds and 4 git commands to generate.