]> git.ipfire.org Git - thirdparty/git.git/commit
tree-diff: inline path_appendnew()
authorJeff King <peff@peff.net>
Thu, 9 Jan 2025 08:49:44 +0000 (03:49 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Jan 2025 20:24:25 +0000 (12:24 -0800)
commitb20d7d348c4d32777cd577c221de529452baca03
tree26829f9f538b1254edef38a7fbc2dcde89ed6e40
parent8c53354658462aa6783022def86750ab0b79eb6f
tree-diff: inline path_appendnew()

Our path_appendnew() has been simplified to the point that it is mostly
just implementing combine_diff_path_new(), plus setting the "next"
pointer. Since there's only one caller, let's replace it completely with
a call to that helper function.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
tree-diff.c