From: Junio C Hamano Date: Mon, 3 Feb 2025 18:23:33 +0000 (-0800) Subject: Merge branch 'jk/combine-diff-cleanup' X-Git-Tag: v2.49.0-rc0~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c43136d67b7c6a9ecfa988004eb4a87bfbe957a0;p=thirdparty%2Fgit.git Merge branch 'jk/combine-diff-cleanup' Code clean-up for code paths around combined diff. * jk/combine-diff-cleanup: tree-diff: make list tail-passing more explicit tree-diff: simplify emit_path() list management tree-diff: use the name "tail" to refer to list tail tree-diff: drop list-tail argument to diff_tree_paths() combine-diff: drop public declaration of combine_diff_path_size() tree-diff: inline path_appendnew() tree-diff: pass whole path string to path_appendnew() tree-diff: drop path_appendnew() alloc optimization run_diff_files(): de-mystify the size of combine_diff_path struct diff: add a comment about combine_diff_path.parent.path combine-diff: use pointer for parent paths tree-diff: clear parent array in path_appendnew() combine-diff: add combine_diff_path_new() run_diff_files(): delay allocation of combine_diff_path --- c43136d67b7c6a9ecfa988004eb4a87bfbe957a0