mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Do not count changed submodules as needed to stash
This commit is contained in:
parent
a4c2ac7e97
commit
0e10593037
@ -467,7 +467,8 @@ def clear_repo():
|
||||
|
||||
@contextmanager
|
||||
def stash():
|
||||
need_stash = bool(git_runner("git diff HEAD"))
|
||||
# diff.ignoreSubmodules=all don't show changed submodules
|
||||
need_stash = bool(git_runner("git -c diff.ignoreSubmodules=all diff HEAD"))
|
||||
if need_stash:
|
||||
git_runner("git stash push --no-keep-index -m 'running cherry_pick.py'")
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user