summaryrefslogtreecommitdiffstats
path: root/lib/git/lib.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/lib.rb')
-rw-r--r--lib/git/lib.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/git/lib.rb b/lib/git/lib.rb
index 3f97929..5bb2e2b 100644
--- a/lib/git/lib.rb
+++ b/lib/git/lib.rb
@@ -257,7 +257,7 @@ module Git
command('checkout', arr_opts)
end
- def merge(branch, message = nil)
+ def merge(branch, message = nil)
arr_opts = []
arr_opts << ["-m '#{message}'"] if message
arr_opts << branch.to_a.join(' ')
@@ -330,7 +330,7 @@ module Git
if $?.exitstatus == 1 && out == ''
return ''
end
- raise Git::GitExecuteError.new(git_cmd + out.to_s)
+ raise Git::GitExecuteError.new(git_cmd + ':' + out.to_s)
end
out
end