diff options
| author | René Scharfe <l.s.r@web.de> | 2025-10-25 07:46:42 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-25 09:45:07 -0700 |
| commit | 13768117f5e174a7a0403607532e33a7dc40b969 (patch) | |
| tree | 04e710083a9b21374afaaa7f3c563408c1aaa8f3 /t/chainlint/here-doc-multi-line-command-subst.test | |
| parent | 4e98b730f18d59b670ee57b803e5048b9d14b968 (diff) | |
add-patch: quit without skipping undecided hunks
Option q implies d, i.e., it marks any undecided hunks towards the
bottom of the hunk array as skipped. This is unnecessary; later code
treats undecided and skipped hunks the same: The only functions that
use UNDECIDED_HUNK and SKIP_HUNK are patch_update_file() itself (but
not after its big for loop) and its helpers get_first_undecided() and
display_hunks().
Streamline the handling of option q by quitting immediately.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/here-doc-multi-line-command-subst.test')
0 files changed, 0 insertions, 0 deletions
