1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2025-06-02 15:43:59 +00: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"
# 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
debug "Determining if repo tracks private directories"