summaryrefslogtreecommitdiffstats
path: root/pkg/app
diff options
context:
space:
mode:
authorRyooooooga <eial5q265e5@gmail.com>2022-12-27 00:03:27 +0900
committerRyooooooga <eial5q265e5@gmail.com>2022-12-30 20:01:14 +0900
commit41222f07edc9d55dc43a0f5b4b8f865568271ae7 (patch)
tree09eb7be086efd8833edb135eeb253e280f1580d0 /pkg/app
parentae780fdb81b5cae3fc7d6e9ce0d896681d5052ae (diff)
chore(gui): remove unused `gitConfig`
Diffstat (limited to 'pkg/app')
-rw-r--r--pkg/app/app.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/pkg/app/app.go b/pkg/app/app.go
index 899325142..158841667 100644
--- a/pkg/app/app.go
+++ b/pkg/app/app.go
@@ -17,7 +17,6 @@ import (
appTypes "github.com/jesseduffield/lazygit/pkg/app/types"
"github.com/jesseduffield/lazygit/pkg/commands"
"github.com/jesseduffield/lazygit/pkg/commands/git_commands"
- "github.com/jesseduffield/lazygit/pkg/commands/git_config"
"github.com/jesseduffield/lazygit/pkg/commands/oscommands"
"github.com/jesseduffield/lazygit/pkg/common"
"github.com/jesseduffield/lazygit/pkg/config"
@@ -106,9 +105,7 @@ func NewApp(config config.AppConfigurer, common *common.Common) (*App, error) {
return app, err
}
- gitConfig := git_config.NewStdCachedGitConfig(app.Log)
-
- app.Gui, err = gui.NewGui(common, config, gitConfig, app.Updater, showRecentRepos, dirName)
+ app.Gui, err = gui.NewGui(common, config, app.Updater, showRecentRepos, dirName)
if err != nil {
return app, err
}