]> Kevux Git Server - rit/commit
add-patch: improve help for options j, J, k, and K
authorRené Scharfe <l.s.r@web.de>
Mon, 6 Oct 2025 17:19:23 +0000 (19:19 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Oct 2025 17:51:42 +0000 (10:51 -0700)
commit2c3cc43f96f9568d5475e46bd1442c5551129ce8
tree889423a08e63a560aa6982fa5712b489b12e670e
parent5099f64a82ccc80f3c6567589bfeb5e9a1b9fd6b
add-patch: improve help for options j, J, k, and K

The options j, J, k, and K don't affect the status of the current hunk.
They just go to a different one.  This is true whether the current hunk
is undecided or not.  Avoid misunderstanding by no longer mentioning
the current hunk explicitly in their help texts.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-add.adoc
add-patch.c