]> git.eshelyaron.com Git - emacs.git/commit
Make marking conflicted files as resolved upon saving opt-out
authorMauro Aranda <maurooaranda@gmail.com>
Mon, 17 Mar 2025 09:55:07 +0000 (06:55 -0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 17 Mar 2025 11:06:23 +0000 (12:06 +0100)
commitd9780da69a5c51093dab13d9503754254ed78ca7
tree0726aeb8e54bf787d28eb11115ea142b9862f5e8
parentc05a0fec91b6cbbb33ddcb9335d9936e20c549ff
Make marking conflicted files as resolved upon saving opt-out

This fixes Bug#3860.

* lisp/vc/vc.el (vc-resolve-conflicts): New user option.
* lisp/vc/vc-bzr.el (vc-bzr-resolve-conflicts): New user option.
(vc-bzr-find-file-hook): Use it.
* lisp/vc/vc-hg.el (vc-hg-resolve-conflicts): New user option.
(vc-hg-find-file-hook): Use it.
* lisp/vc/vc-svn.el (vc-svn-resolve-conflicts): New user option.
(vc-svn-find-file-hook): Use it.
* lisp/vc/vc-git.el (vc-git-resolve-conflicts): Support
'default' as an option.  Adjust docstring and version.
(vc-git-find-file-hook): Respect vc-resolve-conflicts.
* etc/NEWS: Announce the new options.

(cherry picked from commit acb96a5ca8ac3bef80ca2ff1496cacb3ab57c87a)
lisp/vc/vc-bzr.el
lisp/vc/vc-git.el
lisp/vc/vc-hg.el
lisp/vc/vc-svn.el
lisp/vc/vc.el