Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Commit

Permalink
Add config option to disable inferring issue
Browse files Browse the repository at this point in the history
Add a config option `ghi.infer-issue` that, if set to "false", will
disable inferring the issue from the branch prefix

Fixes #198
  • Loading branch information
glittershark committed Mar 19, 2015
1 parent d89b5ab commit 9c9af74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ghi/commands/open.rb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def execute

options.parse! args

if extract_issue
if GHI.config('ghi.infer-issue') != 'false' && extract_issue
Edit.execute args.push('-so', issue, '--', repo)
exit
end
Expand Down

0 comments on commit 9c9af74

Please sign in to comment.