aboutsummaryrefslogtreecommitdiff
path: root/refs.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-07 12:45:15 -0800
committerJunio C Hamano <gitster@pobox.com>2021-12-07 12:45:15 -0800
commit4e26066009ef3d4e725da075f1bed39630e4da9f (patch)
tree1986844d3ea7c07d912b662d088c80639917f347 /refs.h
parentbb4921cf45e11d063e7bbe55f594adf8f0077d5d (diff)
parent7b089120d9e0065978da461f8ccf42000e6760a4 (diff)
downloadgit-4e26066009ef3d4e725da075f1bed39630e4da9f.tar.xz
Merge branch 'hn/create-reflog-simplify' into hn/reftable-coverity-fixes
* hn/create-reflog-simplify: refs: drop force_create argument of create_reflog API
Diffstat (limited to 'refs.h')
-rw-r--r--refs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/refs.h b/refs.h
index 45c34e99e3..bb50d1eb19 100644
--- a/refs.h
+++ b/refs.h
@@ -417,8 +417,8 @@ int refs_pack_refs(struct ref_store *refs, unsigned int flags);
* Setup reflog before using. Fill in err and return -1 on failure.
*/
int refs_create_reflog(struct ref_store *refs, const char *refname,
- int force_create, struct strbuf *err);
-int safe_create_reflog(const char *refname, int force_create, struct strbuf *err);
+ struct strbuf *err);
+int safe_create_reflog(const char *refname, struct strbuf *err);
/** Reads log for the value of ref during at_time. **/
int read_ref_at(struct ref_store *refs,