Commit 067c0f18 authored by lovelywcm's avatar lovelywcm

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

parent 9e9c82f0
...@@ -68,7 +68,7 @@ if [ "$convertedLog" != "" ]; then ...@@ -68,7 +68,7 @@ if [ "$convertedLog" != "" ]; then
svn update && svn update &&
# save local modification # save local modification
[ -n "$(git diff)" ] && git diff > temp.patch && [ -n "$(git diff)" ] && git diff > temp.patch;
base64 -d gfwlist.txt > list.txt && base64 -d gfwlist.txt > list.txt &&
echo -e $convertedLog | git commit -a -F - ; echo -e $convertedLog | git commit -a -F - ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment