summaryrefslogtreecommitdiffstats
path: root/pkg/gui/controllers/helpers/repos_helper.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/gui/controllers/helpers/repos_helper.go')
-rw-r--r--pkg/gui/controllers/helpers/repos_helper.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/controllers/helpers/repos_helper.go b/pkg/gui/controllers/helpers/repos_helper.go
index 942cceef8..95bd7e94a 100644
--- a/pkg/gui/controllers/helpers/repos_helper.go
+++ b/pkg/gui/controllers/helpers/repos_helper.go
@@ -149,6 +149,8 @@ func (self *ReposHelper) DispatchSwitchTo(path string, reuse bool, errMsg string
return nil
}
+ self.c.LogCommand(fmt.Sprintf("Changing directory to %s", path), false)
+
if err := os.Chdir(path); err != nil {
if os.IsNotExist(err) {
return self.c.ErrorMsg(errMsg)