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

am: be more helpful

From
Sverre Rabbelier <srabbelier@gmail.com>
Date
Apr 9, 2010, 22:59 UTC
Message-ID
<t2kfabb9a1e1004091559u92230e17h957f2c5565c133e3@mail.gmail.com>
Heya,

I run into this problem every now and then when I manually apply a patch. I apply it, do some stuff, and then having forgotten I already applied it, try to apply it again, and am confused as to why it won't apply. Would it be difficult to teach 'git am' to see if the patch-id of the patch that couldn't be applied has been applied already (similar to what 'git cherry' does I guess?) and print a helpful message saying "warning: patch already applied" when there is a conflict trying to apply such an already-applied patch?

-- 
Cheers,

Sverre Rabbelier
Next: Junio C Hamano
Message 1 of 3 in “am: be more helpful”
  1. Sverre RabbelierApr 9, 2010
  2. Junio C HamanoApr 9, 2010
  3. Sverre RabbelierApr 9, 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.