From a4533f6f68ffab9deeec978b4e8eae451aebbc0b Mon Sep 17 00:00:00 2001 From: David Korth Date: Sun, 12 Jul 2020 23:57:18 -0400 Subject: [PATCH] git_version.sh: Revert accidental change that broke the dirty flag. --- git_version.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_version.sh b/git_version.sh index e287f7772..b41641bc6 100755 --- a/git_version.sh +++ b/git_version.sh @@ -191,7 +191,7 @@ if [ "x$git_repo_dir" != "x" ] && [ "x${abs_repo_dir}" = "x${abs_srcdir}/.git" ] # This happens, is OK, and "(no branch)" is what "git branch" prints. git_branch="(no branch)" fi - git_dirty=no + git_dirty=yes # git-1.4 does not understand "git-diff-files --quiet" # git-1.4 does not understand "git-diff-index --cached --quiet HEAD" if [ "x$($GIT diff-files)" = "x" ] && [ "x$($GIT diff-index --cached HEAD)" = "x" ]; then