summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/worktree/bare_repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/tests/worktree/bare_repo.go')
-rw-r--r--pkg/integration/tests/worktree/bare_repo.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/integration/tests/worktree/bare_repo.go b/pkg/integration/tests/worktree/bare_repo.go
index 2343b112e..cfcaa0280 100644
--- a/pkg/integration/tests/worktree/bare_repo.go
+++ b/pkg/integration/tests/worktree/bare_repo.go
@@ -38,6 +38,8 @@ var BareRepo = NewIntegrationTest(NewIntegrationTestArgs{
shell.RunCommand([]string{"git", "--git-dir", ".bare", "worktree", "add", "-b", "repo", "repo", "mybranch"})
shell.RunCommand([]string{"git", "--git-dir", ".bare", "worktree", "add", "-b", "worktree2", "worktree2", "mybranch"})
+
+ shell.Chdir("repo")
},
Run: func(t *TestDriver, keys config.KeybindingConfig) {
t.Views().Branches().