Re: [PATCH] describe: make '--always' fallback work after '--exact-match' failed

2015-08-21 Thread Junio C Hamano
SZEDER Gábor writes: > Quoting Junio C Hamano : > >> Well, that can be argued both ways. > ... > > 'git describe' errors out by default if it can't describe the given > commit. Yes. "describe" always fails when it cannot produce an acceptable description. And "--always" and "--exact-match" are

Re: [PATCH] describe: make '--always' fallback work after '--exact-match' failed

2015-08-21 Thread SZEDER Gábor
Quoting Junio C Hamano : SZEDER Gábor writes: 'git describe [...] --always' should always show the unique abbreviated object name as a fallback when the given commit cannot be described with the given set of options, see da2478dbb0 (describe --always: fall back to showing an abbreviated obje

Re: [PATCH] describe: make '--always' fallback work after '--exact-match' failed

2015-08-20 Thread Junio C Hamano
SZEDER Gábor writes: > 'git describe [...] --always' should always show the unique abbreviated > object name as a fallback when the given commit cannot be described with > the given set of options, see da2478dbb0 (describe --always: fall back > to showing an abbreviated object name, 2008-03-02).

[PATCH] describe: make '--always' fallback work after '--exact-match' failed

2015-08-20 Thread SZEDER Gábor
'git describe [...] --always' should always show the unique abbreviated object name as a fallback when the given commit cannot be described with the given set of options, see da2478dbb0 (describe --always: fall back to showing an abbreviated object name, 2008-03-02). However, this is not the case