gc.sh: more crud removal and dirty detection
commit886f0f66ff9af7fbbf07bdf9426a6d740c804c74
authorKyle J. McKay <mackyle@gmail.com>
Mon, 15 Sep 2014 01:35:57 +0000 (14 18:35 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 15 Sep 2014 01:35:57 +0000 (14 18:35 -0700)
tree949bea5e46eeb6647cbe8fdc2ce27300cc676563
parent18a86d1b253d90285ea3364497ed71a62167f68f
gc.sh: more crud removal and dirty detection

Remove stale temporary pack files.
In svn mirrors stale temp files.
In git fast import mirrors remove stale crash files.
Never skip gc if the repo is dirty (more than one .pack file
or any loose objects present).
jobd/gc.sh