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:
parent
51cf2db6ac
commit
7a220077c5
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user