gc.sh: only copy down .pack and .idx pack files
commit3115f10f41ae0e7bf95852c05bc041be3c7c8af6
authorKyle J. McKay <mackyle@gmail.com>
Sun, 16 Aug 2015 18:47:14 +0000 (16 11:47 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 16 Aug 2015 18:47:14 +0000 (16 11:47 -0700)
treed808716f84e1ebb14e78d957d9745be23912e711
parent3c560f0e9289d910435a5b66c96197e318bcdba3
gc.sh: only copy down .pack and .idx pack files

When hard-linking the parents objects and packs
into the child fork, avoid extraneous pack files
(such as pack-*.bitmap).  Only copy down the
loose objects and pack .idx and .pack files.

This prevents a situation where a fork can end up
seeing more than one .bitmap file (the old one that
was copied in and the new one generated in the parent).

The git client will display a warning message if
more than one .bitmap file is visible and we want
to avoid that.

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