Skip to content

Commit 225747f

Browse files
authored
Merge pull request #24596 from tengqm/fix-lsync-script
Fix issue in lsync script
2 parents a0e75c3 + bfb4601 commit 225747f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lsync.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323
# Last commit for the localized file
2424
LASTCOMMIT=`git log -n 1 --pretty=format:%h -- $LOCALIZED`
2525

26-
git diff $LASTCOMMIT...HEAD $EN_VERSION
26+
git diff --exit-code $LASTCOMMIT...HEAD $EN_VERSION
2727

2828
if [ "$?" -eq 0 ]; then
2929
echo "$LOCALIZED is still in sync"

0 commit comments

Comments
 (0)