2017-12-24 09:15:27 +08:00
|
|
|
#!/usr/bin/bash
|
2021-12-13 13:16:01 +08:00
|
|
|
size=$(du -sb .git/index 2>/dev/null|awk '{print $1}')
|
|
|
|
echo $size|grep -E '^[0-9]+$' >/dev/null || size=0
|
|
|
|
if [ $size -le 1024 ];then
|
|
|
|
rm .git/index 2>/dev/null
|
|
|
|
git reset
|
|
|
|
fi
|
2017-12-24 09:15:27 +08:00
|
|
|
|
2018-03-17 15:01:50 +08:00
|
|
|
export PASSIVE="0"
|
|
|
|
exec ./launch_chffrplus.sh
|
2017-12-24 09:15:27 +08:00
|
|
|
|