From: Shawn Pearce Date: Tue, 19 Sep 2006 22:18:57 GMT Subject: Re: Subversion-style incrementing revision numbers Message-ID: <20060919221857.GB11601@spearce.org> In-Reply-To: Jakub Narebski wrote: > Unfortunately, one cannot (as of now) use result of git-describe as > . I'd rather have it fixed, than port idea from _centralized_ > SCM do distributed SCM. This doesn't work? git log $(git describe | cut -d- -f2 | sed 's/^g//') Its obviously so clear and easy to type! :-) That should be pretty easy to teach sha1_name.c:get_sha1_basic to look for the pattern commonly used by git-describe, break on "-g", verify the tag, then unabbreviate the ID. -- Shawn.