]> git.ipfire.org Git - thirdparty/git.git/commit
diff: add a comment about combine_diff_path.parent.path
authorJeff King <peff@peff.net>
Thu, 9 Jan 2025 08:42:48 +0000 (03:42 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Jan 2025 20:24:24 +0000 (12:24 -0800)
commit30f7414ca17bc675105d3d731a827778d7367b11
tree2761364a8b2dad78e3aac8286e1e387598c7265c
parent3a0599788fd38822dcd2f32de538afdd36a478aa
diff: add a comment about combine_diff_path.parent.path

We only fill in the per-parent "path" field when it differs from what's
in combine_diff_path.path (and even then only when the option is
appropriate). Let's document that.

Suggested-by: Wink Saville <wink@saville.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.h