Theodore Tso wrote: > On Wed, Aug 01, 2007 at 03:15:25AM -0700, Junio C Hamano wrote: >> Perhaps if the destination is local, >> >> - if -s is given, just set up alternates, do nothing else; > > As I understand it, the main objection with making -s the default is > surprising result that could happen if you do a git-prune in the base > repository which causes objects which are borrowed from the base > repository via .git/objects/info/alternates, right? -s would be a lot safer to use if repack -a -d (as used by git-gc) was smarter. -a -d has the nasty side effect of doing what it seems only prune is intended to do... that is to remove unreferenced objects. -s usage currently has to be very well thought out, unless you're just using it for a short-lived temporary branch. If this unintended pruning could be avoided then an average user could go about their merry business repacking and git-gc'ing without a care, and only when doing a git-gc --prune would they need to do something special. -brandon - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html