Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit db78669

Browse files
Fix clone support for older versions of Git (yadm-dev#348)
1 parent 1544413 commit db78669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yadm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,8 +767,8 @@ function clone() {
767767
rm -rf "$YADM_REPO" "$wc"
768768
error_out "Unable to clone the repository"
769769
}
770-
rm -rf "$wc"
771770
configure_repo
771+
rm -rf "$wc"
772772

773773
# then reset the index as the --no-checkout flag makes the index empty
774774
"$GIT_PROGRAM" reset --quiet -- .

0 commit comments

Comments
 (0)