From 7a220077c5e464c5ecbde6bc96b931d82e60e88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Wed, 6 Jan 2016 18:02:51 +0100 Subject: [PATCH] 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. --- tools/pull-trans.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/pull-trans.sh b/tools/pull-trans.sh index dc8dbacc9..7024f9d60 100755 --- a/tools/pull-trans.sh +++ b/tools/pull-trans.sh @@ -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)