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

git-am failed, what's next ?

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Feb 22, 2007, 08:22 UTC
Message-ID
<38b2ab8a0702220022wab25519hbb57629934e7f104@mail.gmail.com>
Hi,

I'm a bit clueless when git-am failed to apply a patch. I dunno what I should do at this point since errors reported by git-am are not usefull for me. For example I got:

---- error: patch failed: foo:1 error: foo: patch does not apply

Patch failed at 0001. When you have resolved this problem run "git-am --resolved". If you would prefer to skip this patch, instead run "git-am --skip". ---

I know that git-am let some information in '.dotest' directory and that I can find in it the plain patch file. I can use 'patch' command to apply it and see which part of the patch is conflicting. But I would like to know if there are other ways to do it specially by using git ?

BTW, would it be possible to be more verbose when describing the error ?
thanks
-- 
Francis

PS: git rocks !
Next: Andy Parkins
Message 1 of 10 in “git-am failed, what's next ?”
  1. Francis MoreauFeb 22, 2007
  2. Andy ParkinsFeb 22, 2007
  3. Francis MoreauFeb 22, 2007
  4. Junio C HamanoFeb 22, 2007
  5. Francis MoreauFeb 22, 2007
  6. Junio C HamanoFeb 22, 2007
  7. Francis MoreauFeb 22, 2007
  8. Andy ParkinsFeb 22, 2007
  9. Junio C HamanoFeb 22, 2007
  10. Johannes SchindelinFeb 22, 2007

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.