pull-trans: do not revert changes in HEAD

Using .. instead of ... means that changes in HEAD not yet pushed (and
hence not in the weblate branch) will be reverted.
This commit is contained in:
Daniel Martí 2016-01-06 18:02:51 +01:00
parent 51cf2db6ac
commit 7a220077c5

View File

@ -23,7 +23,7 @@ if ! git ls-remote --exit-code $REMOTE >/dev/null 2>/dev/null; then
fi
ref="${REMOTE}/${REMOTE_BRANCH}"
diff="HEAD..$ref -- */values-*/strings.xml"
diff="HEAD...$ref -- */values-*/strings.xml"
authors=$(git log --format="%s %an" $diff | \
sed 's/Translated using Weblate (\(.*\)) \(.*\)/\2||\1/' | sort -f -u | column -s '||' -t)