We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0865cfb commit 9bc69adCopy full SHA for 9bc69ad
lib/git/lib.rb
@@ -656,7 +656,7 @@ def commit(message, opts = {})
656
arr_opts << "--date=#{opts[:date]}" if opts[:date].is_a? String
657
arr_opts << '--no-verify' if opts[:no_verify]
658
arr_opts << '--allow-empty-message' if opts[:allow_empty_message]
659
- arr_opts << "--gpg-sign=#{opts[:sign]}" if opts[:sign] || "--gpg-sign" if opts[:sign]=''
+ arr_opts << '--gpg-sign' if opts[:sign]
660
661
command('commit', arr_opts)
662
end
0 commit comments