Robert Collins 071c79f6fb Create local refs to prevent pruning
By default git will prune dangling commits more than 2 weeks old. All
the unmerged versions of reviews pushed up more than 2 weeks ago count
as such commits, so we're downloading all the history again and again
each time git-gc --auto ends up being invoked (which is triggered
amongst other things by loose object counts. This leads to random
stalls in gertty when it has to redownload those objects - and this
is obviously worse when offline.

This commit adds refs to prevent this behaviour, but doesn't remove
them at any point. We probably want to facilitate gc of
merged/abandoned/ignored commits at some point. I'm not sure if that
needs to happen in this commit or if it could be added later.

Change-Id: I01c61fd65207fe0dc99208241eefd5d6432c2ad0
2014-07-12 20:23:39 -07:00
..
2014-07-12 20:23:39 -07:00
2014-04-29 16:28:49 -07:00
2014-05-07 21:35:07 -04:00
2014-05-30 08:44:22 -07:00
2014-06-02 10:14:18 -07:00
2014-05-30 08:44:22 -07:00
2014-06-02 10:14:18 -07:00
2014-07-12 20:23:29 -07:00
2014-06-16 17:42:56 +00:00
2014-05-30 18:05:01 -07:00
2014-07-12 20:23:39 -07:00