Re: [PATCH] describe: fall back to 'HEAD' if no appropriate tag exists
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Sep 20, 2006, 22:53 UTC
- Message-ID
- <Pine.LNX.4.63.0609210051570.19042@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <7v8xkef97b.fsf@assigned-by-dhcp.cox.net>
Hi,
On Wed, 20 Sep 2006, Junio C Hamano wrote:
Show 10 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > Now, if no tag exists to say something like '<tag>-gfffffff', say > > 'HEAD-gfffffff' instead of erroring out. > > Another possibility is just to do > > puts(sha1_to_hex(cmit->object.sha1)) > > in this case.
Okay. Could we have the abbreviated sha1, at least?
Ciao, Dscho