diff options
author | Michael Muré <batolettre@gmail.com> | 2018-10-17 20:38:10 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-10-17 20:39:35 +0200 |
commit | 7a511f9a13f3d1064fd11c9146e6b21cb961a8b2 (patch) | |
tree | 3ef98347986e32bd33efe8c5d5d66a8ba78b84af /commands/deselect.go | |
parent | 0e5c5a4db4461f0518dfea190b70683f7703fa09 (diff) | |
download | git-bug-7a511f9a13f3d1064fd11c9146e6b21cb961a8b2.tar.gz git-bug-7a511f9a13f3d1064fd11c9146e6b21cb961a8b2.zip |
commands: don't load the repo for commands that don't need it
fix #67
Diffstat (limited to 'commands/deselect.go')
-rw-r--r-- | commands/deselect.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/deselect.go b/commands/deselect.go index f2907c70..a2e8d30d 100644 --- a/commands/deselect.go +++ b/commands/deselect.go @@ -29,7 +29,8 @@ git bug comment git bug status git bug deselect `, - RunE: runDeselect, + PreRunE: loadRepo, + RunE: runDeselect, } func init() { |