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

[PATCH 0/2] User-friendly error messages for merge failure on fast-forward.

From
Matthieu Moy <matthieu.moy@imag.fr>
Date
Nov 29, 2009, 12:18 UTC
Message-ID
<1259497113-1393-1-git-send-email-Matthieu.Moy@imag.fr>

I noticed that failures of fast-forward merges were still using the plumbing error message:

$ git merge master Updating 1fdeef9..e248dad error: Entry 'foo.txt' not uptodate. Cannot merge.

I'm not 100% sure that my patch doesn't trigger the porcelain behavior for plumbing. Someone more familiar than me with the codebase should confirm/infirm this.

Matthieu Moy (2):
  merge-recursive: make the error-message generation an extern function
  builtin-merge: show user-friendly error messages for fast-forward
    too.
 builtin-merge.c   |    1 +
 merge-recursive.c |   41 +++++++++++++++++++++++------------------
 merge-recursive.h |    3 +++
 3 files changed, 27 insertions(+), 18 deletions(-)
Next: Matthieu Moy
Message 1 of 5 in “User-friendly error messages for merge failure on fast-forward.”
  1. 0/2 User-friendly error messages for merge failure on fast-forward.Matthieu Moy, Nov 29, 2009
  2. 1/2 merge-recursive: make the error-message generation an extern functionMatthieu Moy, Nov 29, 2009
  3. 2/2 builtin-merge: show user-friendly error messages for fast-forward too.Matthieu Moy, Nov 29, 2009
  4. Junio C HamanoNov 30, 2009
  5. Matthieu MoyNov 30, 2009

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.