diff options
| author | Eli Zaretskii | 2022-08-30 16:12:37 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2022-08-30 16:12:37 +0300 |
| commit | 3e5716dba3ea203a4dc8be794a6b2dee13d5ecc4 (patch) | |
| tree | c733128f63e66388a5e33ba27cb060e08b6c8890 | |
| parent | 0bf5463f8147ea9143d286d5a9df7c8421a1ac4b (diff) | |
| download | emacs-3e5716dba3ea203a4dc8be794a6b2dee13d5ecc4.tar.gz emacs-3e5716dba3ea203a4dc8be794a6b2dee13d5ecc4.zip | |
; * etc/NEWS: Clarify wording of "C-x v v" entry.
| -rw-r--r-- | etc/NEWS | 15 |
1 files changed, 10 insertions, 5 deletions
| @@ -1583,11 +1583,16 @@ info node. This command only works for the Emacs and Emacs Lisp manuals. | |||
| 1583 | This command marks files based on a regexp. If given a prefix | 1583 | This command marks files based on a regexp. If given a prefix |
| 1584 | argument, unmark instead. | 1584 | argument, unmark instead. |
| 1585 | 1585 | ||
| 1586 | *** 'C-x v v' on a diff buffer commits it as a patch. | 1586 | --- |
| 1587 | You 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. |
| 1588 | then remove unnecessary hunks, and commit only part of your changes | 1588 | This command is intended to allow you to commit only some of the |
| 1589 | by typing 'C-x v v' in that diff buffer. Currently this works only | 1589 | changes you have in your working tree. Begin by creating a buffer |
| 1590 | with Git. | 1590 | with 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 | ||
| 1592 | want to commit. Finally, type 'C-x v v' in that diff buffer to commit | ||
| 1593 | only part of your changes, those whose hunks were left in the buffer. | ||
| 1594 | |||
| 1595 | Currently 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. |