mirror of
https://github.com/GerbilSoft/rom-properties.git
synced 2025-06-18 03:25:38 -04:00
git_version.sh: Revert accidental change that broke the dirty flag.
This commit is contained in:
parent
e0947b3f5c
commit
a4533f6f68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user