perform-pre-gc-linking.sh: support --include-packs
commitb23103db77d5c07d3bb5a56e9efd9b3227a14750
authorKyle J. McKay <mackyle@gmail.com>
Wed, 7 Sep 2016 21:15:46 +0000 (7 14:15 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 7 Sep 2016 21:15:46 +0000 (7 14:15 -0700)
tree57f580432b4f1cdd5dabdc214ef18786796018df
parent15ed3c7ea709e9877ddcb177f7c874ac3175e01d
perform-pre-gc-linking.sh: support --include-packs

With the "--include-packs" option both loose objects and packs will be
hard-linked into any child forks (the original behavior).

This can be useful when performing extreme maintenance on the parent
project (such as a fresh clone for example).

Also improve the option parsing to give help while adjusting it to parse
the new option.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
toolbox/perform-pre-gc-linking.sh