Re: [PATCH v4] for-each-ref: `:short` format for `refname`

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH v4] for-each-ref: `:short` format for `refname`

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:20

Any followup on this topic since:

  http://thread.gmane.org/gmane.comp.version-control.git/94478/focus=95041

Re: [PATCH v4] for-each-ref: `:short` format for `refname`

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:45:20

Junio C Hamano [off-list ref] wrote:
Any followup on this topic since:

  http://thread.gmane.org/gmane.comp.version-control.git/94478/focus=95041
Sorry.  This patch looked good to me, but the commit message was
perhaps a bit long on the history of the patch.  I don't quite have
the time to give it enough of a read to offer an Ack'd-by.  But it
seems correct on the first read.

-- 
Shawn.

Re: [PATCH v4] for-each-ref: `:short` format for `refname`

From: Bert Wesarg <hidden>
Date: 2016-06-15 22:45:20

On Tue, Sep 9, 2008 at 00:57, Junio C Hamano [off-list ref] wrote:
Any followup on this topic since:

 http://thread.gmane.org/gmane.comp.version-control.git/94478/focus=95041
I plan on looking at the refs/remote test today.

Any opinions, whether we want the 'strict' mode? i.e.:

for refs/heads/xyzzy and refs/tags/xyzzy:

loose mode (current implementation):

  refs/heads/xyzzy => heads/xyzzy
  refs/tags/xyzzy  => xyzzy

there would be a ambiguous warning (if enabled) if you use xyzzy as a
tag, but it resolves correctly to the tag.

strict mode:

  refs/heads/xyzzy => heads/xyzzy
  refs/tags/xyzzy  => tags/xyzzy

will always produce a non-ambiguous short forms.

Bert
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help