mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Append -dirty if the working tree is dirty.
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ if(GIT_FOUND AND NOT DOLPHIN_WC_REVISION)
|
||||
OUTPUT_VARIABLE DOLPHIN_WC_REVISION
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
# defines DOLPHIN_WC_DESCRIBE
|
||||
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} describe --always
|
||||
EXECUTE_PROCESS(COMMAND ${GIT_EXECUTABLE} describe --always --dirty
|
||||
OUTPUT_VARIABLE DOLPHIN_WC_DESCRIBE
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
# defines DOLPHIN_WC_BRANCH
|
||||
|
||||
Reference in New Issue
Block a user