3 # Repack in reverse order, so that forked repositories get repacked first.
4 # That prevents objects from missing, since repack -l will automagically
5 # put the now-going-away objects into the forked repository's object store.
10 cut
-d : -f 1 <"$cfg_chroot/etc/group" |
grep -v "^_repo" |
13 if [ -e "$dir.git"/.nofetch
]; then
14 # echo "+l $(date) $dir"
15 # (cd "$dir.git/objects" && [ "$(ls ?? 2>/dev/null)" ] && GIT_DIR=".." git repack -A -d -q)
16 # GIT_DIR="$dir.git" git update-server-info
17 # echo "-l $(date) $dir"
20 echo "+r $(date) $dir"
21 "$cfg_basedir/jobd/update.sh" "$dir"
22 echo "-r $(date) $dir"