From 349e4c4a2f816127cbf5c8a3e43f1b089cba5baa Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 3 May 2014 21:15:32 +0100 Subject: [PATCH] py: Add --dirty flag to git describe. --- py/py-version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/py-version.sh b/py/py-version.sh index 53063381f5..42474ef6a5 100755 --- a/py/py-version.sh +++ b/py/py-version.sh @@ -1,6 +1,6 @@ #!/bin/bash -git_tag="$(git describe || echo unknown)" +git_tag="$(git describe --dirty || echo unknown)" git_hash="$(git rev-parse --short HEAD 2> /dev/null || echo unknown)" git_files_are_clean=1 # Check if there are any modified files.