Skip to content

Commit

Permalink
style: use pathspec for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
AVM-Martin committed Nov 26, 2024
1 parent 85e8c1d commit ae3a149
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yadm
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit ae3a149

Please sign in to comment.