Re: [PATCH 1/2] hard-code the empty tree object

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

 



On Thu, Feb 14, 2008 at 12:39:01PM +0000, Johannes Schindelin wrote:

> > We also hard-code the special ref '{}' as an alias for the empty tree. 
> > Users may refer to the empty tree by its sha1 or by '{}'.
> 
> Another idea just hit me: why not use "" (i.e. the empty string)?  It is 
> not a valid ref name, and not a valid filename either...
> 
> But maybe that would be _too_ cute,

IMHO, that is a bit too cute.

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