Re: [RFC PATCH] Re: Empty directories...

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

 




On Sat, 21 Jul 2007, David Kastrup wrote:
> 
> tree1:
>      0?0000 .   -> dir1
>      100644 a.c -> blob1
>      040000 a   -> tree2
>      100644 abc -> blob3

No. Totally broken. That "." entry not only doesn't buy you anything, it 
is *impossible*. You  cannot make an object point to itself. Not possible.

Tell me how to calculate the SHA1 for the result. Also, tell me what the 
*point*  is. There is none.

> Linus, a directory is simply non-existent inside of git. 

You need to learn git first.

A directory doesn't exist IN THE INDEX (until my patches). But you need to 
learn about the object database and the SHA1's. That's the real meat of 
git, and it sure as hell knows about directories.

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

  Powered by Linux