lib/libdolt/git.rb in libdolt-0.33.6 vs lib/libdolt/git.rb in libdolt-0.33.7

- old
+ new

@@ -21,10 +21,10 @@ module Dolt module Git def self.shell(command) stdin, stdout, stderr, wait_thread = Open3.popen3(command) - Dolt::Git::Process.new(stdin, stdout, stderr, wait_thread && wait_thread.value || $?) + Dolt::Git::Process.new(stdin, stdout, stderr, wait_thread) end def self.git(git_dir, command) args = Shellwords.join(command.split(" ")) shell("#{binary} --git-dir #{git_dir} #{args}")