refs.c: make ref_transaction_begin take an err argument
[gitweb.git] / refs.h
diff --git a/refs.h b/refs.h
index 71389a1f888ea02ec159d235a245181dba10e9ea..3f37c6509291ef3972cecd1adfb1fd2dd649a698 100644 (file)
--- a/refs.h
+++ b/refs.h
@@ -262,7 +262,7 @@ enum action_on_err {
  * Begin a reference transaction.  The reference transaction must
  * be freed by calling ref_transaction_free().
  */
-struct ref_transaction *ref_transaction_begin(void);
+struct ref_transaction *ref_transaction_begin(struct strbuf *err);
 
 /*
  * The following functions add a reference check or update to a