]> git.eshelyaron.com Git - emacs.git/commit
vc-allow-rewriting-published-history: Use nil->ask->t
authorSean Whitton <spwhitton@spwhitton.name>
Thu, 24 Oct 2024 03:26:27 +0000 (11:26 +0800)
committerEshel Yaron <me@eshelyaron.com>
Fri, 25 Oct 2024 05:07:37 +0000 (07:07 +0200)
commit291e6402df29e5db915d3a9237aec748a9f882b5
tree28cdfb1d89a62bae29acd31ad52a2a09215e7cfa
parentf36e0149c474081aa1da80d72c2ed45ed6ea6840
vc-allow-rewriting-published-history: Use nil->ask->t

* lisp/vc/vc.el (vc-allow-rewriting-published-history): Use
increasingly permissive values nil->ask->t rather than
nil->t->no-ask.  Recommend `ask' or nil.
* lisp/vc/vc-git.el (vc-git--assert-allowed-rewrite): Update
accordingly.

(cherry picked from commit 3bb1b85b78b8079e160dcb10774fe82c2daa1b4d)
lisp/vc/vc-git.el
lisp/vc/vc.el