8 cd "$cfg_reporoot/$proj.git"
10 progress
"+ `date` $proj"
12 # safe pruning: we put all our objects to all forks, then we can
13 # safely get rid of extra ones; repacks in forks will get rid of
14 # the redundant ones again then
16 if [ -d "$forkdir" ]; then
17 get_repo_list
"$forkdir/" |
19 # Match objects in parent project
20 for d
in objects
/?? objects
/pack
; do
21 [ "$d" != "objects/??" ] ||
continue
22 mkdir
-p "$cfg_reporoot/$forkdir/$fork.git/$d"
23 ln -f "$d"/* "$cfg_reporoot/$forkdir/$fork.git/$d"
28 git repack
-A -d --window-memory=3G
-l -q
30 git update-server-info
33 progress
"- `date` $proj"