gc.sh: disable gc for in-progress clones
commite8a8982bd761a29e10f9fc317ef36ffbc737e851
authorKyle J. McKay <mackyle@gmail.com>
Sat, 24 Feb 2018 07:39:02 +0000 (23 23:39 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 24 Feb 2018 07:39:02 +0000 (23 23:39 -0800)
treed4973d0c9d63e5663fc843148dd78e9a05d70330
parent921d84c6c218bf063376687e255d65f9f11e987b
gc.sh: disable gc for in-progress clones

The mirror fetch operation is not prepared to handle a simultaneous
garbage collection.  It never has been.

Although jobd.pl will not normally run gc.sh on an in-progress clone,
it could be run through some other means.

Therefore treat an in-progress clone the same as though it had a
`.nogc` file, but with a slightly different disabled message.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
jobd/gc.sh