Skip to content

Commit

Permalink
don't change the return value of git.commit
Browse files Browse the repository at this point in the history
  • Loading branch information
cristibalan committed Oct 29, 2008
1 parent a9154f1 commit fa94dbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/braid/operations.rb
Expand Up @@ -144,6 +144,7 @@ def commit(message, *args)
commit_message_file.print("Braid: " + message)
commit_message_file.flush
status, out, err = exec("git commit -F #{commit_message_file.path} --no-verify #{args.join(' ')}")
commit_message_file.unlink

if status == 0
true
Expand All @@ -152,7 +153,6 @@ def commit(message, *args)
else
raise ShellExecutionError, err
end
commit_message_file.unlink
end

def fetch(remote = nil)
Expand Down

0 comments on commit fa94dbc

Please sign in to comment.