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

Re: [RFC/PATCH] commit: make the error message on unmerged entries user-friendly.

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 6, 2010, 20:05 UTC
Message-ID
<7vy6kbt2ww.fsf@alter.siamese.dyndns.org>
In-Reply-To
<vpqocl76mdo.fsf@bauges.imag.fr>
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
Show 6 quoted lines
> They'd use "pull", not merge. Anyway, I did it for commit, merge,
> pull, revert, cherry-pick. I guess we covered the common cases.
> The patch seems to have a lot of redundancies, but I think trying to
> factor this into helper functions would be much more effort than the
> few cut-and-paste that I had to do, since each instance is a slight
> variant of each other ...

I'd be more worried about longer term maintainability than one time expediency of producing your single patch to add these messages. If the messages are cast in stone, we can just verify they are consistent _now_ and forget about them, but I suspect not even you are perfect to predict that we won't come up with different/better ways to resolve and mark them resolved in the future and write a set of messages that won't have to change.

Previous: Matthieu MoyNext: Matthieu Moy
Message 6 of 14 in “commit: make the error message on unmerged entries user-friendly.”
  1. commit: make the error message on unmerged entries user-friendly.Matthieu Moy, Jan 6, 2010
  2. Junio C HamanoJan 6, 2010
  3. Matthieu MoyJan 6, 2010
  4. Junio C HamanoJan 6, 2010
  5. Matthieu MoyJan 6, 2010
  6. Junio C HamanoJan 6, 2010
  7. Matthieu MoyJan 6, 2010
  8. Be more user-friendly when refusing to do something because of conflict.Matthieu Moy, Jan 6, 2010
  9. Be more user-friendly when refusing to do something because of conflict.Matthieu Moy, Jan 6, 2010
  10. Junio C HamanoJan 6, 2010
  11. Matthieu MoyJan 7, 2010
  12. Be more user-friendly when refusing to do something because of conflict.Matthieu Moy, Jan 7, 2010
  13. Be more user-friendly when refusing to do something because of conflict.Matthieu Moy, Jan 7, 2010
  14. Junio C HamanoJan 13, 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.