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

Re: v1.7.0-rc0 shows lots of "unable to find <sha1>" on git-stash

From
Jonathan del Strother <maillist@steelskies.com>
Date
Jan 30, 2010, 16:36 UTC
Message-ID
<57518fd11001300836v7f21a8a9qc09953d9091a4513@mail.gmail.com>
In-Reply-To
<4B643DEF.8010809@web.de>
On 30 January 2010 14:10, Jens Lehmann <Jens.Lehmann@web.de> wrote:
Show 28 quoted lines
> Am 30.01.2010 14:23, schrieb Jonathan del Strother:
>> On 30 January 2010 12:31, Jens Lehmann <Jens.Lehmann@web.de> wrote:
>>> I assume you have one or more submodules, maybe even with untracked
>>> or yet uncommitted modified files in your tree? If so, what does git
>>> status say in the superproject and in the submodule(s)?
>>
>> Yep, I have 10 submodules.  However, they're all completely clean with
>> no tracked or untracked changes shown in git status.  Anything else I
>> can investigate?
>
> The change in behavior my patch introduced is that "git status" is
> called inside each submodule. So i would expect getting the same
> errors when using this command:
>   git submodule foreach git status -s
>
> It should just show
>   Entering '<submodule 1>'
>   Entering '<submodule 2>'
>   Entering '<submodule 3>'
>   Entering '<submodule 4>'
>   Entering '<submodule 5>'
>   Entering '<submodule 6>'
>   Entering '<submodule 7>'
>   Entering '<submodule 8>'
>   Entering '<submodule 9>'
>   Entering '<submodule 10>'
> when the submodules are not dirty. What do you get?
>
Correct - I just get that output.
Previous: Jens LehmannNext: Junio C Hamano
Message 6 of 13 in “v1.7.0-rc0 shows lots of "unable to find <sha1>" on git-stash”
  1. Jonathan del StrotherJan 29, 2010
  2. Jonathan del StrotherJan 30, 2010
  3. Jens LehmannJan 30, 2010
  4. Jonathan del StrotherJan 30, 2010
  5. Jens LehmannJan 30, 2010
  6. Jonathan del StrotherJan 30, 2010
  7. Junio C HamanoJan 30, 2010
  8. Junio C HamanoJan 30, 2010
  9. is_submodule_modified(): fix breakage with external GIT_INDEX_FILEJunio C Hamano, Jan 30, 2010
  10. Jonathan del StrotherJan 31, 2010
  11. Jonathan del StrotherJan 31, 2010
  12. Junio C HamanoJan 31, 2010
  13. Jens LehmannJan 30, 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.