From 067c0f18e83b9bfc788ecb5bb317d0c8dee4993f Mon Sep 17 00:00:00 2001 From: lovelywcm Date: Sat, 3 Apr 2010 15:31:49 +0000 Subject: [PATCH] bug fix: won't commit others' updates to git repository if local list.txt not modified --- sendGFWList.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sendGFWList.sh b/sendGFWList.sh index f7c980e..a19f45a 100755 --- a/sendGFWList.sh +++ b/sendGFWList.sh @@ -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 - ;