Skip to content

Commit d936ba3

Browse files
committed
Do a git fetch instead of pull
1 parent a98fa8b commit d936ba3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test_elasticsearch/run_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def fetch_es_repo():
5454
shell=True,
5555
)
5656
# reset to the version fron info()
57-
subprocess.check_call("cd %s && git pull" % repo_path, shell=True)
57+
subprocess.check_call("cd %s && git fetch" % repo_path, shell=True)
5858
subprocess.check_call("cd %s && git reset --hard %s" % (repo_path, sha), shell=True)
5959

6060

0 commit comments

Comments
 (0)