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

Re: Nasty git corruption problem

From
PCPaolo Ciarrocchi <paolo.ciarrocchi@gmail.com>
Date
Jul 26, 2006, 15:57 UTC
Message-ID
<4d8e3fd30607260857v17bde4afqbe68fde583d2f15f@mail.gmail.com>
In-Reply-To
<1153929715.13509.12.camel@localhost.localdomain>
Just added the git ML where you can have better support for this problem.
On 7/26/06, Alan Cox <alan@lxorguk.ukuu.org.uk> wrote:
Show 37 quoted lines
> Just hit a real nasty, although I suspect its not a common case but it
> does seem to show a problem git has other version control systems don't
> (so far anyway)
>
> During a git rebase my machine crashed. Git claims that the rebase is
> complete but contains none of the outstanding 30 odd patches. There is
> no .dotest directory and git-fsck-objects produces some warnings about a
> few dangling objects, but these objects aren't the relevant ones (at
> least directly)
>
> CVS and SVN in crashes don't lose old stuff, though they are pretty good
> at losing the last commit or two. Git rebase appears to be able to lose
> two weeks of old changes even though they were stable on disk, which is
> not good at all.
>
> Doing
>
> for i in *; do (cd $i; for j in *; do git-unpack-file $i$j; done; );
> done
>
> shows that lots of the changes are still somewhere in the object tree
> but there seems to be no tool for fixing rather than moaning about
> objects dangling, and also no obvious way to fix it. Also curiously many
> of the objects appear linked somewhere but don't show up in the git-log
> for the afflicted branch at all.
>
>
>
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
>
-- 
Paolo
http://paolo.ciarrocchi.googlepages.com
http://picasaweb.google.com/paolo.ciarrocchi
Next: Linus Torvalds
Message 1 of 2 in “Re: Nasty git corruption problem”
  1. Paolo CiarrocchiJul 26, 2006
  2. Linus TorvaldsJul 26, 2006

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.