Re: empty directories and git Question

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

 



Apologies to those who were CC'd on the original message, I'm resending to this list as I forgot to set plain text.

I've always wondered about that. Why do we still have this restriction? There is a sha1 hash that is equivalent to the empty tree (4b825dc642cb6eb9a060e54bf8d69288fbee4904). Why can't git just use that to represent an empty directory? I imagine things that touch the working copy may need to be updated to be aware of this, but the problem doesn't seem insurmountable.

-Kevin Ballard

On Sep 16, 2010, at 1:32 AM, Andreas Ericsson wrote:

> You can't have empty directories in git.

--
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]