]> Lady’s Gitweb - Gitweb/commit
gitweb: Make it possible to use pre-parsed info in git_difftree_body
authorJakub Narebski <redacted>
Sun, 6 May 2007 23:10:06 +0000 (01:10 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit091faa319561733f48850b1ee4d8c0d194f6fd7cc2ca56ffd72fe1cb0f49cbd3
tree9f967204dd61ce556566dd0de9d6108ee6bf5aa535b9f3e954b2dd95c90d3a19
parent9bef2fa6d80a0b2fa2a21c83dc3908f6637da2811ab2281aab0efa260f4d3ff3
gitweb: Make it possible to use pre-parsed info in git_difftree_body

Make it possible to use pre-parsed, or generated by hand, difftree
info in git_difftree_body, similarly to how was and is it done in
git_patchset_body.

Use just introduced feature in git_commitdiff to parse difftree info
(raw diff output) only once: difftree info is now parsed in
git_commitdiff directly, and parsed information is passed to both
git_difftree_body and git_patchset_body. (Till now only git_blobdiff
made use of git_patchset_body ability to use pre-parsed or hand
generated info.) Additionally this makes rename info for combined diff
with renames (or copies) calculated only once in git_difftree_body;
the $difftree is modified and git_patchset_body makes use of added
info.

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