]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'jk/combine-diff-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Mon, 3 Feb 2025 18:23:33 +0000 (10:23 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Feb 2025 18:23:33 +0000 (10:23 -0800)
commitc43136d67b7c6a9ecfa988004eb4a87bfbe957a0
treecc4c17eed6328f3baa142c811aec4eec7005e690
parentcaf17423d375e97919ace904cd527b4d26cc3e43
parent6979bf6f8f5e831ef38214edb158c7fb493540f7
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