Skip to content

Commit 0f78b67

Browse files
committed
Added require 'open3' when needed and available.
1 parent 70a8371 commit 0f78b67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/git/lib.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'tempfile'
2+
require 'open3' unless (RUBY_VERSION.to_f < 1.9)
23

34
module Git
45

0 commit comments

Comments
 (0)