projects
/
config
/
vcsh.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
README: mention that the idea came from John Whitley
[config/vcsh.git]
/
.config
/
vcsh
/
hooks-available
/
sparse-checkout.sh
1
#!/bin/sh
2
3
: "${XDG_CONFIG_HOME:="$HOME/.config"}"
4
5
git config core.sparseCheckout true
6
rm -f "$GIT_DIR/info/sparse-checkout"
7
ln -s "$XDG_CONFIG_HOME/vcsh/sparse-checkout" "$GIT_DIR/info/sparse-checkout"