1
0
Fork 0
mirror of synced 2024-12-04 14:45:36 -05:00

style: use pathspec for consistency

This commit is contained in:
AVM.Martin 2024-11-26 19:22:18 +07:00
parent 85e8c1ddfc
commit ae3a149449
No known key found for this signature in database
GPG key ID: 25F846A221B3F159

2
yadm
View file

@ -827,7 +827,7 @@ function clone() {
rm -rf "$wc" rm -rf "$wc"
# then reset the index as the --no-checkout flag makes the index empty # then reset the index as the --no-checkout flag makes the index empty
"$GIT_PROGRAM" reset --quiet -- "$YADM_WORK" "$GIT_PROGRAM" reset --quiet -- ":/"
if [ "$YADM_WORK" = "$HOME" ]; then if [ "$YADM_WORK" = "$HOME" ]; then
debug "Determining if repo tracks private directories" debug "Determining if repo tracks private directories"