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

Re: [PATCH] rerere.txt: Document forget subcommand

From
Jay Soffian <jaysoffian@gmail.com>
Date
Jun 15, 2010, 16:45 UTC
Message-ID
<AANLkTinfDixTH_l_1quVg68oz4E0AeuuyyOAVrJ2liVz@mail.gmail.com>
In-Reply-To
<7vr5k86ylg.fsf@alter.siamese.dyndns.org>
On Tue, Jun 15, 2010 at 12:37 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 12 quoted lines
>> +'forget' <pathspec>::
>> +
>> +This resets the conflict resolutions which rerere has recorded for <pathspec>.
>> +
>
> This description is not _incorrect_ per-se, but it does not convey one
> important aspect of the subcommand; unlike "clear" and "gc", "forget" only
> works in the context of the _current_ conflict resolution, just like
> "diff" and "status".
>
> Perhaps s/for <pathspec>/for the current conflict in <pathspec>/ would be
> a sufficient improvement?
Also, pathspec is optional.
j.
Previous: Junio C HamanoNext: Michael J Gruber
Message 4 of 9 in “Amending a merge commit doesn't update the rerere cache”
  1. Jay SoffianJun 14, 2010
  2. rerere.txt: Document forget subcommandMichael J Gruber, Jun 15, 2010
  3. Junio C HamanoJun 15, 2010
  4. Jay SoffianJun 15, 2010
  5. Michael J GruberJun 16, 2010
  6. Junio C HamanoJun 16, 2010
  7. [PATCHv2] rerere.txt: Document forget subcommandMichael J Gruber, Jul 5, 2010
  8. Johannes SixtJun 15, 2010
  9. Jay SoffianJun 15, 2010

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.