diff options
-rwxr-xr-x | util/getrevision.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/getrevision.sh b/util/getrevision.sh index 168dd632..f7d6bf3b 100755 --- a/util/getrevision.sh +++ b/util/getrevision.sh @@ -129,7 +129,7 @@ timestamp() { revision() { local r if git_is_file_tracked "$1" ; then - r=$(git describe $(git_last_commit "$1")) + r=$(git describe --always $(git_last_commit "$1")) if git_has_local_changes "$1" ; then r="$r-dirty" fi |