hooks: set up sparse checkout after cloning the vcsh repository master
authorAntonio Ospite <ao2@ao2.it>
Thu, 24 Jan 2019 14:56:36 +0000 (15:56 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 31 Jan 2019 08:38:17 +0000 (09:38 +0100)
commitf56cf1fee2d7d4463fda8664aec2a2d6e6d5458a
tree4a7d81ebe96672651eea3c7076e0c350918d20a3
parent5afec708492bbba786c5b8ddd7715118cddcedba
hooks: set up sparse checkout after cloning the vcsh repository

Make sure to correctly configure sparse checkout right after the vcsh
repository has been cloned with 'vcsh clone'.

This is needed to avoid leaving conflicting files (e.g. README) in the
working tree, which would prevent other vcsh repositories from being
cloned without errors.
.config/vcsh/hooks-enabled/vcsh.post-clone.00-enable-sparse-checkout.sh [new symlink]
.config/vcsh/hooks-enabled/vcsh.post-clone.01-update-working-tree.sh [new symlink]