fix(clone): reset index of YADM_WORK
This commit is contained in:
parent
12c51e130b
commit
aba434274e
2
yadm
2
yadm
|
@ -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 -- .
|
||||
"$GIT_PROGRAM" reset --quiet -- "$YADM_WORK"
|
||||
|
||||
if [ "$YADM_WORK" = "$HOME" ]; then
|
||||
debug "Determining if repo tracks private directories"
|
||||
|
|
Loading…
Reference in a new issue