Skip to content

Commit

Permalink
Do a git fetch instead of pull
Browse files Browse the repository at this point in the history
  • Loading branch information
honzakral committed Aug 21, 2019
1 parent a98fa8b commit d936ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_elasticsearch/run_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def fetch_es_repo():
shell=True,
)
# reset to the version fron info()
subprocess.check_call("cd %s && git pull" % repo_path, shell=True)
subprocess.check_call("cd %s && git fetch" % repo_path, shell=True)
subprocess.check_call("cd %s && git reset --hard %s" % (repo_path, sha), shell=True)


Expand Down

0 comments on commit d936ba3

Please sign in to comment.