Re: .git/info/refs

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

 



H. Peter Anvin wrote:

>> I also expect that they interpret everything after the sha1 as refname, 
>> what with our having become quite liberal with refnames (they can contain 
>> spaces, tabs, and even a small amount of special K). So I don't see a way 
>> to upgrade the file format.
> 
> They can also contain newlines, probably, so escaping is obligatory
> anyway. 

No, refnames can not contain newlines.

And .git/info/refs mimics git-ls-remote / git-peek-remote output,
and is meant for dumb transports.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #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]