git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] Add / command in add --patch (feature request)

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 27, 2008, 06:41 UTC
Message-ID
<7v1vwxd621.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<492E3811.6050603@gmail.com>
William Pursell <bill.pursell@gmail.com> writes:
Show 5 quoted lines
> Before working on patches, I'd like some ideas on
> functionality:
>
> 1) If a hunk doesn't match, should it be as if the user
>    selected 'n', or 'j'?

Is it an option to tell "nothing matched", stay at the same hunk and ask the user to make the choice again?

Previous: William PursellNext: Johannes Schindelin
Message 6 of 7 in “Add / command in add --patch (feature request)”
  1. 1/2 Add / command in add --patch (feature request)William Pursell, Nov 26, 2008
  2. Junio C HamanoNov 26, 2008
  3. Jeff KingNov 26, 2008
  4. Junio C HamanoNov 26, 2008
  5. William PursellNov 27, 2008
  6. Junio C HamanoNov 27, 2008
  7. Johannes SchindelinNov 27, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.