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

Re: recovering from "unordered stage entries in index" error

From
Duy Nguyen <pclouds@gmail.com>
Date
May 24, 2015, 09:52 UTC
Message-ID
<CACsJy8B=ttGa1aBKTdZAe6bLN4rbEE1r3fA+ifNNvUWhYD0Yfg@mail.gmail.com>
In-Reply-To
<D377A9280DB18546A2471214D5CBB0E9087568F592@exchdb01>

On Sat, May 23, 2015 at 9:47 AM, McHenry, Matt <mmchenry@carnegielearning.com> wrote:

Show 7 quoted lines
>> So maybe you can do "GIT_TRACE=2 git svn fetch" and post the output.
>> I'd expect to see something like "git read-tree <sha1>" before "fatal:
>> unorder...". You can then use git ls-tree <sha1> to examine this tree,
>> try to sort the file list with "LANG=C sort" and compare with the
>> original list.
>
>         There is no read-tree in the output (below).  The sha1 that is mentioned, 74332b7, is the one for the current trunk:

Hm.. neither read-tree nor update-index is in the output. I can see git-svn closing stderr sometimes, but not sure if that's why we don't see these commands, or something else. Could you try again with GIT_TRACE=/absolute/path/to/some/where instead of GIT_TRACE=2 and post the content of /abso../some/where?

-- 
Duy
Previous: McHenry, MattNext: McHenry, Matt
Message 11 of 17 in “recovering from "unordered stage entries in index" error”
  1. McHenry, MattMay 19, 2015
  2. Junio C HamanoMay 19, 2015
  3. McHenry, MattMay 19, 2015
  4. Duy NguyenMay 21, 2015
  5. McHenry, MattMay 21, 2015
  6. Junio C HamanoMay 21, 2015
  7. Duy NguyenMay 22, 2015
  8. McHenry, MattMay 22, 2015
  9. Duy NguyenMay 23, 2015
  10. McHenry, MattMay 23, 2015
  11. Duy NguyenMay 24, 2015
  12. McHenry, MattMay 26, 2015
  13. Duy NguyenMay 26, 2015
  14. Junio C HamanoMay 22, 2015
  15. McHenry, MattMay 22, 2015
  16. Junio C HamanoMay 23, 2015
  17. McHenry, MattMay 23, 2015

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.