]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/checkout.c
Merge branch 'gc/branch-recurse-submodules'
[thirdparty/git.git] / builtin / checkout.c
index f6e65fedfa2bbbc3cf7d180dc26e9881c6c0c2d6..2b33960e2167a8269beba1cc1d065ecab27aafe9 100644 (file)
@@ -909,7 +909,8 @@ static void update_refs_for_switch(const struct checkout_opts *opts,
                                      opts->new_branch_force ? 1 : 0,
                                      opts->new_branch_log,
                                      opts->quiet,
-                                     opts->track);
+                                     opts->track,
+                                     0);
                free(new_branch_info->name);
                free(new_branch_info->refname);
                new_branch_info->name = xstrdup(opts->new_branch);