mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
rename linux.sh to git.sh
This commit is contained in:
parent
f1aa219ed3
commit
2e7e6150ed
@ -10,7 +10,8 @@ function update_linux_git() {
|
||||
echo "==== SYNC $UPSTREAM START ===="
|
||||
/usr/bin/timeout -s INT 3600 git remote -v update
|
||||
git repack -a -b -d
|
||||
git count-objects -v -H
|
||||
sz=$(git count-objects -v|grep -Po '(?<=size-pack: )\d+')
|
||||
echo "size-pack:" $(numfmt --to=iec $sz)
|
||||
echo "==== SYNC $UPSTREAM DONE ===="
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user