]> git.ozlabs.org Git - next-scripts/commitdiff
repack the refs after creating the"next" refs
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Feb 2010 23:11:49 +0000 (10:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 2 Feb 2010 23:11:49 +0000 (10:11 +1100)
make_next_branches

index 7409713b3a574866ede1b0b52c6c0dfcbfc5d5d7..c26a8ce71f22642ced6854489454bb85cd735856 100755 (executable)
@@ -17,5 +17,7 @@ for h in $heads; do
        git update-ref "refs/next/$dir/$tree" "$rem_ref/$h"
 done
 
+git pack-refs --all --prune
+
 exit 0