commit_packed_refs(): report errors rather than dying
[gitweb.git] / refs / packed-backend.h
index beea9c14b5cb93ce374e3f619d479b116a1108a5..3d4057b65b331fbb9fba2a5d9072b31417e411d4 100644 (file)
@@ -14,7 +14,7 @@ int lock_packed_refs(struct ref_store *ref_store, int flags);
 void add_packed_ref(struct ref_store *ref_store,
                    const char *refname, const struct object_id *oid);
 
-int commit_packed_refs(struct ref_store *ref_store);
+int commit_packed_refs(struct ref_store *ref_store, struct strbuf *err);
 
 int repack_without_refs(struct ref_store *ref_store,
                        struct string_list *refnames, struct strbuf *err);