Error fixed in AutoVersioning when no .git is found
This commit is contained in:
parent
3d59c44f7a
commit
e3f03f57d8
@ -40,7 +40,8 @@ else()
|
||||
endif()
|
||||
|
||||
# Check if has not commited changes
|
||||
execute_process(COMMAND git update-index -q --refresh)
|
||||
execute_process(COMMAND git update-index -q --refresh
|
||||
ERROR_QUIET)
|
||||
execute_process(COMMAND git diff-index --name-only HEAD --
|
||||
OUTPUT_VARIABLE CHANGED_SOURCE
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
|
Loading…
Reference in New Issue
Block a user