Skip to content

Commit

Permalink
fixup! checkout: ignore skip-worktree when virtual
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickstolee committed Jul 12, 2024
1 parent 3dfd9ac commit ae0f955
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions builtin/checkout.c
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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_");
Expand Down

0 comments on commit ae0f955

Please sign in to comment.