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

Re: files are disappearing in git

From
NSNico -telmich- Schottelius <nico-linux-git@schottelius.org>
Date
Nov 24, 2005, 08:46 UTC
Message-ID
<20051124084633.GA3361@schottelius.org>
In-Reply-To
<Pine.LNX.4.64.0511230917130.13959@g5.osdl.org>
Linus Torvalds [Wed, Nov 23, 2005 at 09:20:28AM -0800]:
Show 14 quoted lines
> On Wed, 23 Nov 2005, Nico -telmich- Schottelius wrote:
> > 
> > I've the problem that some files (a directory with 3 files) is simply 'away':
> > 
> > - We added it once
> > - In current tree it's away
> > - pasky aided me in irc to find the commit where it is gone with git bisect
> > --> very nice tool
> > - the commit, after which the directory was gone did NOT modify this directory
> > - though the directory is gone
> > 
> > What should I do know to find out what's the reason git 'forgot' that directory?
> 
> I bet somebody just messed up the index before that commit.

What would be the best things to corrupt the index? Our developers here do the following each day:

- cg-update
- <work>
- cg-commit
- cg-update + merge if there are changes
- cg-push origin
--> this goes to NFS mounted /home (in which developers also work)
[9:34] klapperwachstum:walderlift% cat .git/branches/origin 
/home/server/git/walderlift.git
> So the commit 
> probably _did_ modify the directory, though some incorrect patching or 
> some scripting bug.

Hrm, perhaps this is true, though I am not aware _how_ they (two people besides me) could even manage to do that. Our developers are Kylix developers under Linux, who are raelly limited to the above cg-commands and using gitweb for seeing changes.

> If you can guess at all what went on at around that commit (what else 
> happened there?) that might help.

In this commit where specified three files changed. The commit text is not related to the directory which is missing.

Files changed are

Code/Components/Utilities/LW1Calendar.pas Code/lw1/Client/Terminierung/FeinTerminierungForm.pas Code/lw1/Client/Terminierung/FeinTerminierungForm.xfm

and files missing after this release are
Code/Spikes/Statistik/

If I select "history" of one of the files at the point it still existed in the tree, it has only one entry, where it was added.

> Was it a merge?
No, we also assumed that first, but git bisect showed that it is not.
> Is the tree public so that we can look at it and perhaps make a guess from 
> what happened around it?

I am sorry it is not. Perhaps I can convince my boss to allow access to it for some git developers, so someone could debug it. Thought, every information found in the tree would have to be treated confidental.

Do you have some other hints on how to debug that? Perhaps some conistency checking tool?

Or perhaps should I put that git directory under cvs? ;-)
Nico
-- 
Latest project: cinit-0.2.1 (http://linux.schottelius.org/cinit/)
Open Source nutures open minds and free, creative developers.
Previous: Linus TorvaldsNext: Junio C Hamano
Message 3 of 15 in “files are disappearing in git”
  1. Nico -telmich- SchotteliusNov 23, 2005
  2. Linus TorvaldsNov 23, 2005
  3. Nico -telmich- SchotteliusNov 24, 2005
  4. Junio C HamanoNov 24, 2005
  5. Nico -telmich- SchotteliusNov 24, 2005
  6. Ryan AndersonNov 25, 2005
  7. Nico -telmich- SchotteliusNov 25, 2005
  8. Linus TorvaldsNov 25, 2005
  9. Petr BaudisNov 25, 2005
  10. Ryan AndersonNov 25, 2005
  11. Junio C HamanoNov 25, 2005
  12. Linus TorvaldsNov 25, 2005
  13. Petr BaudisNov 25, 2005
  14. Nico -telmich- SchotteliusNov 25, 2005
  15. Petr BaudisNov 25, 2005

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.