On Wed, 22 Apr 2009, Matthieu Moy wrote: > Nicolas Pitre <nico@xxxxxxx> writes: > > > Why so? Having fewer packs is always a good thing. Having only one > > pack is of course the optimal situation. > > Good and optimal wrt Git, but not wrt an incremental backup system for > example. This goes without saying that git should optimize for its own usage by default, and not for a particular backup system. > I have a "git gc" running daily in a cron job in each of my > repositories, but to be nice with my sysadmin, I don't want to rewrite > tens of megabytes of data each night just because I commited a 2 lines > patch somewhere. Just add a .keep file along side your .pack file after repacking. Nicolas -- 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