aboutsummaryrefslogtreecommitdiffstats
path: root/commands/webui.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-09-29 20:51:15 +0200
committerGitHub <noreply@github.com>2020-09-29 20:51:15 +0200
commit1204b66e0cc958c2ca3b328d25cbec347356a046 (patch)
tree852ba5a688eea6872b0885d23dc91342d09b468d /commands/webui.go
parent9f3a56b1f34a8b4a7a75357986e967afc4b96611 (diff)
parent4055495c8ba983033459507f3032ca93c6ec006a (diff)
downloadgit-bug-1204b66e0cc958c2ca3b328d25cbec347356a046.tar.gz
Merge pull request #412 from MichaelMure/gogit-repo
repository: go-git backed Repo
Diffstat (limited to 'commands/webui.go')
-rw-r--r--commands/webui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/webui.go b/commands/webui.go
index 4d87a303..7e5fc752 100644
--- a/commands/webui.go
+++ b/commands/webui.go
@@ -139,7 +139,7 @@ func runWebUI(env *Env, opts webUIOptions, args []string) error {
env.out.Printf("Graphql Playground: http://%s/playground\n", addr)
env.out.Println("Press Ctrl+c to quit")
- configOpen, err := env.repo.LocalConfig().ReadBool(webUIOpenConfigKey)
+ configOpen, err := env.repo.AnyConfig().ReadBool(webUIOpenConfigKey)
if err == repository.ErrNoConfigEntry {
// default to true
configOpen = true