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

Re: [RFC] improving advice message from "git commit" during a merge

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 27, 2014, 19:28 UTC
Message-ID
<xmqqmwapd96c.fsf@gitster.dls.corp.google.com>
In-Reply-To
<20140827191857.GB7561@peff.net>
Jeff King <peff@peff.net> writes:
Show 8 quoted lines
>>  - When all the unmerged paths have their conflicts resolved in the
>>    working tree, we do not have to say "Fix them up in the work
>>    tree,".  We can instead say "You seem to have fixed them up in
>>    the work tree already," or something.
>
> How are you determining what has been resolved? By looking for "<<<<<<<"
> markers? That feels a little flaky, but I guess it would probably work
> well enough in practice.

I was going to say "whatever rerere does" by reusing whatever it has already implemented.

Show 7 quoted lines
> If we started using that heuristic, it would probably make sense to
> teach "git status" about it (and then maybe just have a failed "commit"
> rely on wt_status to produce the output).
>
>> I am not doing this myself soon, though.  Hint, hint...
>
> Me either, though it all seems like a sensible direction to me.
Previous: Jeff KingNext: Matthieu Moy
Message 3 of 11 in “[RFC] improving advice message from "git commit" during a merge”
  1. Junio C HamanoAug 27, 2014
  2. Jeff KingAug 27, 2014
  3. Junio C HamanoAug 27, 2014
  4. merge, pull: stop advising 'commit -a' in case of conflictMatthieu Moy, Aug 28, 2014
  5. Junio C HamanoAug 28, 2014
  6. Matthieu MoyAug 28, 2014
  7. Jonathan NiederAug 28, 2014
  8. Junio C HamanoAug 28, 2014
  9. Matthieu MoyAug 29, 2014
  10. Stefan BellerAug 28, 2014
  11. Junio C HamanoAug 28, 2014

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.