From: Johannes Schindelin Date: Wed, 20 Sep 2006 22:53:16 GMT Subject: Re: [PATCH] describe: fall back to 'HEAD' if no appropriate tag exists Message-ID: In-Reply-To: <7v8xkef97b.fsf@assigned-by-dhcp.cox.net> Hi, On Wed, 20 Sep 2006, Junio C Hamano wrote: > Johannes Schindelin writes: > > > Now, if no tag exists to say something like '-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