Re: [PATCH v3 2/3] add-patch: Allow interfile navigation when selecting hunks
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 6, 2026, 19:21 UTC
- Message-ID
- <xmqqikc9ekzz.fsf@gitster.g>
- In-Reply-To
- <24692afa3f0a67d3f3eba776cc745287c5d71e94.1770390576.git.abrahamadekunle50@gmail.com>
Abraham Samuel Adekunle <abrahamadekunle50@gmail.com> writes:
Show 7 quoted lines
> @@ -1566,11 +1589,14 @@ static int patch_update_file(struct add_p_state *s,
> : 1));
> printf(_(s->mode->prompt_mode[prompt_mode_type]),
> s->buf.buf);
> + if (s->s.no_auto_advance && all_decided)
> + printf(_("\n%s All hunks decided. What now? "),
> + s->s.prompt_color);This gives an ordinary prompt for the hunk and then another one after it if we notice everything has been decided. I am wondering if it wants to be more like
if (!s->auto_advance && all_decided) say What now? else ask the usual
?