summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-04-09 21:31:44 (GMT)
committerJunio C Hamano <gitster@pobox.com>2024-04-09 21:31:44 (GMT)
commit989bf45394ab70afcd13f89865062386034fbca6 (patch)
treeca825d9bfe21c8f39fb190cd7a28edb41ec85e15 /Documentation
parent4b4081034ba924644a150d8f84290ac3b26a5003 (diff)
parentbab1f1c3948bddc4bc35d9ce1cb33d9ce84446cb (diff)
downloadgit-989bf45394ab70afcd13f89865062386034fbca6.zip
git-989bf45394ab70afcd13f89865062386034fbca6.tar.gz
git-989bf45394ab70afcd13f89865062386034fbca6.tar.bz2
Merge branch 'rj/add-p-explicit-reshow'
"git add -p" and other "interactive hunk selection" UI has learned to skip showing the hunk immediately after it has already been shown, and an additional action to explicitly ask to reshow the current hunk. * rj/add-p-explicit-reshow: add-patch: do not print hunks repeatedly add-patch: introduce 'p' in interactive-patch
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-add.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-add.txt b/Documentation/git-add.txt
index 14a371f..aceaa02 100644
--- a/Documentation/git-add.txt
+++ b/Documentation/git-add.txt
@@ -348,6 +348,7 @@ patch::
K - leave this hunk undecided, see previous hunk
s - split the current hunk into smaller hunks
e - manually edit the current hunk
+ p - print the current hunk
? - print help
+
After deciding the fate for all hunks, if there is any hunk