From: Yves Orton Date: Wed, 29 Jul 2009 22:36:49 +0000 (+0200) Subject: we want the git-describe of the requested item, not the current head. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=11a595870adcd875f29635df8e4b9a2d22c36521;p=p5sagit%2Fp5-mst-13.2.git we want the git-describe of the requested item, not the current head. --- diff --git a/Porting/GitUtils.pm b/Porting/GitUtils.pm index 7abfe91..9ee6ca5 100755 --- a/Porting/GitUtils.pm +++ b/Porting/GitUtils.pm @@ -53,7 +53,7 @@ sub gen_dot_patch { s![~^].*\z!!; # strip off how far we are from the item } my $tstamp= iso_time_with_dot(`git log -1 --pretty="format:%ct" $sha1`); - chomp(my $describe= `git describe`); + chomp(my $describe= `git describe $sha1`); join(" ", $branch, $tstamp, $sha1, $describe); }