summaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorRonnie Sahlberg <sahlberg@google.com>2014-06-20 14:42:59 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-14 18:54:42 (GMT)
commit01319837c53050109c60e6740dfa9462327161f0 (patch)
tree0696aad84da0bbf6b26349fe401ef95a851515d6 /refs.h
parent8bcd37482e95b47119f3a8f03a1c8ce5815594a3 (diff)
downloadgit-01319837c53050109c60e6740dfa9462327161f0.zip
git-01319837c53050109c60e6740dfa9462327161f0.tar.gz
git-01319837c53050109c60e6740dfa9462327161f0.tar.bz2
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 'refs.h')
-rw-r--r--refs.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/refs.h b/refs.h
index e588ff8..163b45c 100644
--- a/refs.h
+++ b/refs.h
@@ -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.