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

Re: git-am failed, what's next ?

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Feb 22, 2007, 10:50 UTC
Message-ID
<38b2ab8a0702220250v2c2ca77fub95b1e9a2a57bd78@mail.gmail.com>
In-Reply-To
<7v8xeqh6bj.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 12 quoted lines
> 	$ git am -3
>
> This can result in one of three things:
>
>  * It can complain, with "Patch does not record usable index
>    information".  When this happens, you are back to square-one.
>    Your repository does not have enough blobs for it to fall
>    back on 3-way merge.  The operation did not change anything
>    in your working tree nor what are in .dotest/ directory, so
>    it did not do any further harm.  You have to use one of the
>    two strategies described above instead.
>
BTW, in this case I got the following error message:

fatal: sha1 information is lacking or useless (foo). Patch does not record usable index information. Cannot fall back to three-way merge. Patch failed at 0001.

which is hard to understand, whereas your explanation:

Your repository does not have enough blobs for it to fall back on 3-way merge.

sounds better and easier to understand to me...
-- 
Francis
Previous: Junio C HamanoNext: Andy Parkins
Message 7 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.