diff options
Diffstat (limited to 'pkg/gui/controllers/helpers/repos_helper.go')
-rw-r--r-- | pkg/gui/controllers/helpers/repos_helper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/controllers/helpers/repos_helper.go b/pkg/gui/controllers/helpers/repos_helper.go index d4bd46f40..3ebd7767d 100644 --- a/pkg/gui/controllers/helpers/repos_helper.go +++ b/pkg/gui/controllers/helpers/repos_helper.go @@ -145,7 +145,7 @@ func (self *ReposHelper) DispatchSwitchToRepo(path string, contextKey types.Cont func (self *ReposHelper) DispatchSwitchTo(path string, errMsg string, contextKey types.ContextKey) error { return self.c.WithWaitingStatus(self.c.Tr.Switching, func(gocui.Task) error { - env.UnsetGitDirEnv() + env.UnsetGitLocationEnvVars() originalPath, err := os.Getwd() if err != nil { return nil |