Re: .git/info/refs

From: Jakub Narebski <jnareb@gmail.com>
Date: 2007-01-25 04:25:38
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jan 25 04:54:00 2007

This archive was generated by hypermail 2.1.8 : 2007-01-25 04:55:32 EST