Fix clone support for older versions of Git (#348)
This commit is contained in:
parent
1544413c91
commit
db78669479
1 changed files with 1 additions and 1 deletions
2
yadm
2
yadm
|
@ -767,8 +767,8 @@ function clone() {
|
|||
rm -rf "$YADM_REPO" "$wc"
|
||||
error_out "Unable to clone the repository"
|
||||
}
|
||||
rm -rf "$wc"
|
||||
configure_repo
|
||||
rm -rf "$wc"
|
||||
|
||||
# then reset the index as the --no-checkout flag makes the index empty
|
||||
"$GIT_PROGRAM" reset --quiet -- .
|
||||
|
|
Loading…
Reference in a new issue