aboutsummaryrefslogtreecommitdiffstats
path: root/refs/refs-internal.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-12-10 14:35:13 -0800
committerJunio C Hamano <gitster@pobox.com>2021-12-10 14:35:13 -0800
commitb8148376a2dbb02ade419c2e3fdc478c1f0981dd (patch)
tree93c26104ae0f7c1052b3369263c61187745f4fb5 /refs/refs-internal.h
parentMerge branch 'jt/midx-doc-fix' (diff)
parentrefs: drop force_create argument of create_reflog API (diff)
downloadgit-b8148376a2dbb02ade419c2e3fdc478c1f0981dd.tar.gz
git-b8148376a2dbb02ade419c2e3fdc478c1f0981dd.zip
Merge branch 'hn/create-reflog-simplify'
A small simplification of API. * hn/create-reflog-simplify: refs: drop force_create argument of create_reflog API
Diffstat (limited to 'refs/refs-internal.h')
-rw-r--r--refs/refs-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/refs/refs-internal.h b/refs/refs-internal.h
index fb2c58ce3b..46a839539e 100644
--- a/refs/refs-internal.h
+++ b/refs/refs-internal.h
@@ -592,7 +592,7 @@ typedef int for_each_reflog_ent_reverse_fn(struct ref_store *ref_store,
void *cb_data);
typedef int reflog_exists_fn(struct ref_store *ref_store, const char *refname);
typedef int create_reflog_fn(struct ref_store *ref_store, const char *refname,
- int force_create, struct strbuf *err);
+ struct strbuf *err);
typedef int delete_reflog_fn(struct ref_store *ref_store, const char *refname);
typedef int reflog_expire_fn(struct ref_store *ref_store,
const char *refname,