diff --git a/jenkins/scripts/common_translation_update.sh b/jenkins/scripts/common_translation_update.sh index 40f4856df1..64e02cd7fb 100644 --- a/jenkins/scripts/common_translation_update.sh +++ b/jenkins/scripts/common_translation_update.sh @@ -338,7 +338,7 @@ function filter_commits { # their own. if [ $PO_CHANGE -eq 0 ] ; then for f in $(git diff --cached --name-only) ; do - git reset -q "$f" + git reset -q -- "$f" git checkout -- "$f" done fi