1
0
mirror of https://github.com/TheLocehiliosan/yadm synced 2026-03-02 03:49:29 +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

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"