]> Lady’s Gitweb - Gitweb/commit
gitweb: Show combined diff for merge commits in 'commitdiff' view
authorJakub Narebski <redacted>
Sun, 6 May 2007 23:10:07 +0000 (01:10 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commiteb194b5399c7781973eee867a0e08c3e3f2c435979ee294c376ff63a2f9900be
tree1cb59887966314909a21375915cfe9f6fbf13cbc590e56e4f470772f57f7e461
parent091faa319561733f48850b1ee4d8c0d194f6fd7cc2ca56ffd72fe1cb0f49cbd3
gitweb: Show combined diff for merge commits in 'commitdiff' view

When 'commitdiff' action is requested without 'hp' (hash parent)
parameter, and commit given by 'h' (hash) parameter is merge commit,
show merge as combined diff.

Earlier for merge commits without 'hp' parameter diff to first parent
was shown.

Note that in compact combined (--cc) format 'uninteresting' hunks
omission mechanism can make that there is no patch corresponding to
line in raw format (difftree) output. That is why (at least for now)
we use --combined and not --cc format for showing commitdiff for merge
commits.

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