aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2022-08-30 16:12:37 +0300
committerEli Zaretskii2022-08-30 16:12:37 +0300
commit3e5716dba3ea203a4dc8be794a6b2dee13d5ecc4 (patch)
treec733128f63e66388a5e33ba27cb060e08b6c8890
parent0bf5463f8147ea9143d286d5a9df7c8421a1ac4b (diff)
downloademacs-3e5716dba3ea203a4dc8be794a6b2dee13d5ecc4.tar.gz
emacs-3e5716dba3ea203a4dc8be794a6b2dee13d5ecc4.zip
; * etc/NEWS: Clarify wording of "C-x v v" entry.
-rw-r--r--etc/NEWS15
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/NEWS b/etc/NEWS
index a40954a8376..8d251448d35 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1583,11 +1583,16 @@ info node. This command only works for the Emacs and Emacs Lisp manuals.
1583This command marks files based on a regexp. If given a prefix 1583This command marks files based on a regexp. If given a prefix
1584argument, unmark instead. 1584argument, unmark instead.
1585 1585
1586*** 'C-x v v' on a diff buffer commits it as a patch. 1586---
1587You can create a diff buffer by e.g. 'C-x v D' ('vc-root-diff'), 1587*** 'C-x v v' in a diffs buffer allows to commit only some of the changes.
1588then remove unnecessary hunks, and commit only part of your changes 1588This command is intended to allow you to commit only some of the
1589by typing 'C-x v v' in that diff buffer. Currently this works only 1589changes you have in your working tree. Begin by creating a buffer
1590with Git. 1590with the changes against the last commit, e.g. with 'C-x v D'
1591('vc-root-diff'). Then edit the diffs to remove the hunks you don't
1592want to commit. Finally, type 'C-x v v' in that diff buffer to commit
1593only part of your changes, those whose hunks were left in the buffer.
1594
1595Currently this feature works only with the Git as 'vc-backend'.
1591 1596
1592--- 1597---
1593*** 'C-x v v' on an unregistered file will now use the most specific backend. 1598*** 'C-x v v' on an unregistered file will now use the most specific backend.