Re: can anybody explain the following to a git noob?
- From
Tim Uckun <timuckun@gmail.com>
- Date
- May 23, 2009, 08:03 UTC
- Message-ID
- <855e4dcf0905230103q33508f0eh3aa2838ee71e0a81@mail.gmail.com>
- In-Reply-To
- <alpine.LNX.2.00.0905221259330.27232@reaper.quantumfyre.co.uk>
> What's in the subdirectory? Is it empty? If so, that would explain what > you are seeing. Git doesn't track directories - so an empty directory is > always treated as an untracked file.
The directories are not empty. They contain various tests (unit tests, integration tests etc).
> > I don't know if mercurial tracks directories, if it does, then this would > explain why it behaves diffently to git. >
That might be the reason.
I am just baffled. I have run that script many times and it always turns out the same. For example on one run I removed all the .git directories in all the subdirectories to see if I would get different results but it didn't help (git mv worked but the messed up directories remained).
I also tried renaming other directories and similar things happen.