From: David Kastrup Date: Fri, 20 Jul 2007 05:58:36 GMT Subject: Re: [RFC PATCH] Re: Empty directories... Message-ID: <85sl7jty43.fsf@lola.goethe.zz> In-Reply-To: <7vir8f24o2.fsf@assigned-by-dhcp.cox.net> Junio C Hamano writes: > Linus Torvalds writes: > >> So the whole notion of "remembering" whether a directory was added >> explicitly as an empty directory or not is just not a sensible concept in >> git. > > That is true if it is implemented as David suggested, to have a > phony "." entry in the tree object itself. Unix file systems contain a phony "." entry in the directory itself, and have survived in spite of this. > The object name of such a tree (when it contains blobs and trees > underneath) will be different from a tree that contains the same set > of blobs and trees. It would destroy the fundamental concepts of > git. Like "." destroyed the fundamental concepts of Unix filesystems. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum