Skip to content

Commit ed6b3e2

Browse files
Option name changes over revert
Removing ruby-head from travis
1 parent 6ee6a52 commit ed6b3e2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ rvm:
1010
- rbx-18mode
1111
- rbx-19mode
1212
- ree
13-
- ruby-head
13+
# - ruby-head

lib/git/lib.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,10 @@ def clean(opts = {})
431431

432432
def revert(commitish, opts = {})
433433
# Forcing --no-edit as default since it's not an interactive session.
434-
opts = {:'no-edit' => true}.merge(opts)
434+
opts = {:no_edit => true}.merge(opts)
435435

436436
arr_opts = []
437-
arr_opts << '--no-edit' if opts[:'no-edit']
437+
arr_opts << '--no-edit' if opts[:no_edit]
438438
arr_opts << commitish
439439

440440
command('revert', arr_opts)

0 commit comments

Comments
 (0)