Re: can anybody explain the following to a git noob?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]