]> git.99rst.org Git - git.git/commit
add-patch: allow disabling editing of hunks
authorPatrick Steinhardt <redacted>
Mon, 2 Mar 2026 12:13:09 +0000 (13:13 +0100)
committerJunio C Hamano <redacted>
Tue, 3 Mar 2026 23:09:36 +0000 (15:09 -0800)
commit48f6d9232834be661f0d1dc4f187b324124ccbe0
tree5d5c1aea99cdc705a96cce0451194f347a88189c
parent0c5583a57d618db191afceeff54e8cafbee89f41
add-patch: allow disabling editing of hunks

The "add-patch" mode allows the user to edit hunks to apply custom
changes. This is incompatible with a new `git history split` command
that we're about to introduce in a subsequent commit, so we need a way
to disable this mode.

Add a new flag to disable editing hunks.

Signed-off-by: Patrick Steinhardt <redacted>
Signed-off-by: Junio C Hamano <redacted>
add-interactive.c
add-patch.c
add-patch.h
builtin/add.c
builtin/checkout.c
builtin/reset.c
builtin/stash.c
git clone https://git.99rst.org/PROJECT