btversion: also exclude content/OPERATOR.EGG (operator-app working file) from the dirty check
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
954175e44e
commit
9690043e57
@@ -15,10 +15,12 @@ execute_process(COMMAND git rev-parse --short HEAD
|
||||
WORKING_DIRECTORY "${SRC}"
|
||||
OUTPUT_VARIABLE BT_HASH OUTPUT_STRIP_TRAILING_WHITESPACE
|
||||
ERROR_QUIET)
|
||||
# content/LAST.EGG is rewritten by the game at every run -- a permanent
|
||||
# false-dirty; exclude it so a pristine checkout stamps clean.
|
||||
# content/LAST.EGG is rewritten by the game every run and content/OPERATOR.EGG
|
||||
# is overwritten by the operator app on Save -- both are runtime working files,
|
||||
# not source, so exclude them (else the build stamps a false '+' dirty marker).
|
||||
execute_process(COMMAND git status --porcelain --untracked-files=no
|
||||
-- . ":(exclude)content/LAST.EGG"
|
||||
":(exclude)content/OPERATOR.EGG"
|
||||
WORKING_DIRECTORY "${SRC}"
|
||||
OUTPUT_VARIABLE BT_DIRTY_RAW
|
||||
ERROR_QUIET)
|
||||
|
||||
Reference in New Issue
Block a user