From 7a511f9a13f3d1064fd11c9146e6b21cb961a8b2 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 17 Oct 2018 20:38:10 +0200 Subject: commands: don't load the repo for commands that don't need it fix #67 --- commands/root.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'commands/root.go') diff --git a/commands/root.go b/commands/root.go index d7e7216d..27268bf4 100644 --- a/commands/root.go +++ b/commands/root.go @@ -38,10 +38,6 @@ the same git remote your are already using to collaborate with other peoples. } }, - // Load the repo before any command execution - // Note, this concern only commands that actually have a Run function - PersistentPreRunE: loadRepo, - DisableAutoGenTag: true, // Custom bash code to connect the git completion for "git bug" to the -- cgit