From 5c72c1e28bb9617ee0f9ff60106bc79c09594580 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Tue, 20 Dec 2016 13:06:16 -0800 Subject: [PATCH] Fetch python grammar as part of CI --- script/fetch-fixtures | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/fetch-fixtures b/script/fetch-fixtures index bb727298..7009d70f 100755 --- a/script/fetch-fixtures +++ b/script/fetch-fixtures @@ -7,6 +7,7 @@ GRAMMARS=( json c cpp + python ) for grammar in ${GRAMMARS[@]}; do @@ -21,7 +22,7 @@ for grammar in ${GRAMMARS[@]}; do ( cd $grammar_dir; - git reset --hard; - git pull origin master; + git fetch origin + git reset --hard origin/master; ) done