Re: [PATCH 1/6] Remote helper: accept ':<value> <name>' as a response to 'list'
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Oct 7, 2010, 21:17 UTC
- Message-ID
- <AANLkTi=4Vc8456TVMHPTmLg=4VyFqtje6Mnz73VsHrKs@mail.gmail.com>
- In-Reply-To
- <20101005020035.GA10818@burratino>
Heya,
On Tue, Oct 5, 2010 at 04:00, Jonathan Nieder <jrnieder@gmail.com> wrote:
Show 9 quoted lines
> In particular, each line has a 40-character object id, a tab character, > and then something like a refname. > > If we want to extend that, wouldn't we need to do something like > > 0000...0000 <refname> > 0000...0000 <refname> is r11 > > to avoid breaking people's scripts?
I don't know... I'd suspect that people's scripts are going to break regardless, but if this is being used in scripts I agree we should make it as easy as possible for scripters to parse this output.
-- Cheers, Sverre Rabbelier