git-autobisect 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +1 -1
- data/lib/git/autobisect.rb +1 -5
- data/lib/git/autobisect/version.rb +1 -1
- metadata +6 -6
data/Gemfile.lock
CHANGED
data/lib/git/autobisect.rb
CHANGED
|
@@ -100,11 +100,7 @@ module Git
|
|
|
100
100
|
|
|
101
101
|
def bisect_to_exact_match(command, good, bad)
|
|
102
102
|
run! "git bisect reset"
|
|
103
|
-
run! "git bisect start"
|
|
104
|
-
run! "git checkout #{bad}"
|
|
105
|
-
run! "git bisect bad"
|
|
106
|
-
run! "git checkout #{good}"
|
|
107
|
-
run! "git bisect good"
|
|
103
|
+
run! "git bisect start #{bad} #{good}"
|
|
108
104
|
success, output = run("git bisect run sh -c '#{command}'")
|
|
109
105
|
raise "error while bisecting" unless success
|
|
110
106
|
output.match(/([\da-f]+) is the first bad commit/)[1]
|
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git-autobisect
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.1
|
|
5
4
|
prerelease:
|
|
5
|
+
version: 0.2.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Michael Grosser
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-
|
|
12
|
+
date: 2012-12-07 00:00:00.000000000 Z
|
|
13
13
|
dependencies: []
|
|
14
14
|
description:
|
|
15
15
|
email: michael@grosser.it
|
|
@@ -36,23 +36,23 @@ rdoc_options: []
|
|
|
36
36
|
require_paths:
|
|
37
37
|
- lib
|
|
38
38
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
39
|
-
none: false
|
|
40
39
|
requirements:
|
|
41
40
|
- - ! '>='
|
|
42
41
|
- !ruby/object:Gem::Version
|
|
43
42
|
version: '0'
|
|
44
43
|
segments:
|
|
45
44
|
- 0
|
|
46
|
-
hash:
|
|
47
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
45
|
+
hash: 2309795783379412317
|
|
48
46
|
none: false
|
|
47
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
49
48
|
requirements:
|
|
50
49
|
- - ! '>='
|
|
51
50
|
- !ruby/object:Gem::Version
|
|
52
51
|
version: '0'
|
|
53
52
|
segments:
|
|
54
53
|
- 0
|
|
55
|
-
hash:
|
|
54
|
+
hash: 2309795783379412317
|
|
55
|
+
none: false
|
|
56
56
|
requirements: []
|
|
57
57
|
rubyforge_project:
|
|
58
58
|
rubygems_version: 1.8.24
|