projects
/
config
/
vcsh.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
populate-fully.sh: don't enter the repository if updating working tree fails
[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"