From: Samuel Abraham Date: Thu, 12 Feb 2026 10:32:29 GMT Subject: Re: [PATCH v3 2/3] add-patch: Allow interfile navigation when selecting hunks Message-ID: In-Reply-To: On Fri, Feb 6, 2026 at 8:21 PM Junio C Hamano wrote: > > Abraham Samuel Adekunle writes: > > > @@ -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 > > ? Hello Junio Please just a small curiosity. If I do it this way, the user will not be able to see the options available once they have decided on all hunks and want to rework the file. The options for a hunk will not be visible if they navigate with say K or J and want to change decisions on a hunk. They will always be greeted with What now? without the available options.