From ae0f955a9703682229283a35fc6c2993bb49bf58 Mon Sep 17 00:00:00 2001 From: Derrick Stolee Date: Fri, 12 Jul 2024 14:28:46 -0400 Subject: [PATCH] fixup! checkout: ignore skip-worktree when virtual --- builtin/checkout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/builtin/checkout.c b/builtin/checkout.c index b1702d75f8aa3b..dca1fe9f1054f2 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -1,6 +1,5 @@ #define USE_THE_INDEX_VARIABLE #include "builtin.h" -#include "gvfs.h" #include "advice.h" #include "branch.h" #include "cache-tree.h" @@ -1759,7 +1758,6 @@ static int checkout_main(int argc, const char **argv, const char *prefix, } opts->track = BRANCH_TRACK_UNSPECIFIED; - opts->ignore_skipworktree = gvfs_config_is_set(GVFS_USE_VIRTUAL_FILESYSTEM); if (!opts->accept_pathspec && !opts->accept_ref) BUG("make up your mind, you need to take _something_");