From d936ba3eb44a3afc81c4a06d4aeb7ea30dbbb349 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Honza=20Kr=C3=A1l?= Date: Wed, 21 Aug 2019 17:39:28 +0200 Subject: [PATCH] Do a git fetch instead of pull --- test_elasticsearch/run_tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_elasticsearch/run_tests.py b/test_elasticsearch/run_tests.py index 44928f9d..9a2c530e 100755 --- a/test_elasticsearch/run_tests.py +++ b/test_elasticsearch/run_tests.py @@ -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)