bug fix: won't commit others' updates to git repository if local list.txt not modified

This commit is contained in:
lovelywcm 2010-04-03 15:31:49 +00:00
parent 9e9c82f0ab
commit 067c0f18e8

View File

@ -68,7 +68,7 @@ if [ "$convertedLog" != "" ]; then
svn update &&
# save local modification
[ -n "$(git diff)" ] && git diff > temp.patch &&
[ -n "$(git diff)" ] && git diff > temp.patch;
base64 -d gfwlist.txt > list.txt &&
echo -e $convertedLog | git commit -a -F - ;