Skip to content

Commit f7f820f

Browse files
authored
Replace allow empty with empty check in Makefile
1 parent 891ddca commit f7f820f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ push:
8181
@git diff -I'^"POT-Creation-Date: ' --numstat *.po **/*.po \
8282
| cut -f3 | xargs -r git add
8383
@git add $(git ls-files -o --exclude-standard *.po **/*.po) .tx/config
84-
@git commit --allow-empty -m $(MSG)
84+
@git diff-index --quiet HEAD || git commit --allow-empty -m $(MSG)
8585
@git push
8686

8787

0 commit comments

Comments
 (0)