Skip to content
Browse files

fix "fatal: No tags can describe 'commitid'"

  • Loading branch information...
1 parent ff40fe1 commit 59a17354a9eab3cb84833fb565fdc70fbcb3fc15 @lost-theory lost-theory committed Dec 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-what-branch
View
2 git-what-branch
@@ -78,7 +78,7 @@ sub describep($)
else
{
my $newref;
- chomp($newref = `git describe --tags $ref`);
+ chomp($newref = `git describe --tags --always $ref`);
$ret = $newref if ($newref && $? == 0);
}
}

0 comments on commit 59a1735

Please sign in to comment.
Something went wrong with that request. Please try again.