Skip to content

Commit fac952f

Browse files
committed
fixup! sparse-checkout: match some 'clean' behavior
1 parent 76dd89c commit fac952f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

builtin/sparse-checkout.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,7 @@ static int sparse_checkout_clean(int argc, const char **argv,
940940
struct strbuf full_path = STRBUF_INIT;
941941
const char *msg = msg_remove;
942942
size_t worktree_len;
943-
int force = 0;
944-
int dry_run = 0;
943+
int force = 0, dry_run = 0;
945944
int require_force = 1;
946945

947946
struct option builtin_sparse_checkout_clean_options[] = {

0 commit comments

Comments
 (0)