]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jc/add-resolved' into jch
authorJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:40:44 +0000 (10:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 30 Jul 2026 17:40:44 +0000 (10:40 -0700)
'git add' has been taught a new '--resolved' option to stage
conflict-resolved paths, while leaving unrelated local changes
unstaged. It scans the unmerged paths for leftover conflict markers
and aborts if any are found.

* jc/add-resolved:
  add: introduce '--resolved' option
  read-cache: add remove_file_from_index_with_flags()
  merge-ll: consolidate conflict marker scanning logic
  read-cache: reindent

1  2 
read-cache.c
rerere.c
t/meson.build

diff --cc read-cache.c
Simple merge
diff --cc rerere.c
Simple merge
diff --cc t/meson.build
Simple merge