From: Stephen Rothwell Date: Tue, 2 Feb 2010 23:11:49 +0000 (+1100) Subject: repack the refs after creating the"next" refs X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=b19e95a3316419491f6d6ef9d77bd1f0d3aac4ee;p=next-scripts repack the refs after creating the"next" refs --- diff --git a/make_next_branches b/make_next_branches index 7409713..c26a8ce 100755 --- a/make_next_branches +++ b/make_next_branches @@ -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