Merge topic 'test-CheckSourceTree-update'
2a3e2631
Tests: Fix CheckSourceTree test for newer Git
This commit is contained in:
commit
4e61edc457
|
@ -268,12 +268,12 @@ if(NOT ov STREQUAL "")
|
||||||
|
|
||||||
if(consider)
|
if(consider)
|
||||||
if(is_git_checkout)
|
if(is_git_checkout)
|
||||||
if(line MATCHES "^#[ \t]*modified:")
|
if(line MATCHES "^#?[ \t]*modified:")
|
||||||
message(" locally modified file detected...")
|
message(" locally modified file detected...")
|
||||||
set(modifications 1)
|
set(modifications 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(line MATCHES "^# Untracked")
|
if(line MATCHES "^(# )?Untracked")
|
||||||
message(" locally non-added file/directory detected...")
|
message(" locally non-added file/directory detected...")
|
||||||
set(nonadditions 1)
|
set(nonadditions 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue