diff options
author | Ronnie Sahlberg <sahlberg@google.com> | 2014-06-20 16:42:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-07-14 20:54:42 +0200 |
commit | 01319837c53050109c60e6740dfa9462327161f0 (patch) | |
tree | 0696aad84da0bbf6b26349fe401ef95a851515d6 /refs.h | |
parent | update-ref: use err argument to get error from ref_transaction_commit (diff) | |
download | git-01319837c53050109c60e6740dfa9462327161f0.tar.xz git-01319837c53050109c60e6740dfa9462327161f0.zip |
refs.c: remove the onerr argument to ref_transaction_commit
Since all callers now use QUIET_ON_ERR we no longer need to provide an onerr
argument any more. Remove the onerr argument from the ref_transaction_commit
signature.
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Ronnie Sahlberg <sahlberg@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Acked-by: Michael Haggerty <mhagger@alum.mit.edu>
Diffstat (limited to '')
-rw-r--r-- | refs.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -282,8 +282,7 @@ void ref_transaction_delete(struct ref_transaction *transaction, * the transaction failed. The string does not end in newline. */ int ref_transaction_commit(struct ref_transaction *transaction, - const char *msg, struct strbuf *err, - enum action_on_err onerr); + const char *msg, struct strbuf *err); /* * Free an existing transaction and all associated data. |