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

Re: Repository data loss in fast-export with a merge of a deleted submodule

From
Joshua Jensen <jjensen@workspacewhiz.com>
Date
Nov 14, 2011, 15:06 UTC
Message-ID
<4EC12E8B.3050909@workspacewhiz.com>
In-Reply-To
<4EB2BBB5.3030908@workspacewhiz.com>
----- Original Message -----
From: Joshua Jensen
Date: 11/3/2011 10:05 AM
Show 22 quoted lines
> ----- Original Message -----
> From: Joshua Jensen
> Date: 10/27/2011 1:27 PM
>> We had a submodule that we deleted and then added back into the 
>> repository at the same location as the former submodule.  When 
>> running fast-export, the newly 'added' files for the merge commit are 
>> listed and then are followed with a:
>>
>> M ... path/to/submodule/file
>> D path/to/submodule
>>
>> On fast-import, the resultant repository becomes corrupt due to the 
>> Delete instruction above occurring AFTER the file 
>> adds/modifications.  The new repository does not match the old 
>> repository where the fast-export was performed.
>>
>> I am not familiar with the fast-export code.  Can anyone help out?
> Okay, I looked into this further, and I came up with a patch that 
> works for me.  Nevertheless, I do not understand exactly what is going 
> on here, so I would like to defer to someone else's patch to fix the 
> issue.
>
Hi.
__This is a genuine data loss problem in Git.__

I'm confused at the lack of response to this. I first posted about the issue **2-1/2 weeks ago**, and there have been no responses Does no one care?

In case no one received the messages, you can find them at [1] and [2].
-Josh

[1] http://www.spinics.net/lists/git/msg168295.html [2] http://www.spinics.net/lists/git/msg168691.html

Previous: Joshua JensenNext: Jens Lehmann
Message 3 of 5 in “Repository data loss in fast-export with a merge of a deleted submodule”
  1. Joshua JensenOct 27, 2011
  2. Joshua JensenNov 3, 2011
  3. Joshua JensenNov 14, 2011
  4. Jens LehmannNov 14, 2011
  5. Jeff KingNov 30, 2011

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.