jobd/gc.sh: alter is_dirty semantics
commitc4c4aed9b794b4c98d013d60634209237dc5718a
authorKyle J. McKay <mackyle@gmail.com>
Mon, 29 Jun 2020 23:10:42 +0000 (29 16:10 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 29 Jun 2020 23:10:42 +0000 (29 16:10 -0700)
treed08bcaa04fcda79e96fbf8992ac5fe61e677cc75
parent8f169d233a9b83cc147803588bbe053e48f18c3c
jobd/gc.sh: alter is_dirty semantics

In preparation for checking the "repack" "signature" hash, change
the is_dirty function to allow up to two "normally named" packs
to exist (provided there is at least one ref) before declaring the
repository to be dirty.

Except for the change to allow two "normally named" packs instead
of one, the semantics otherwise remain the same.

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