diff options
| author | Junio C Hamano <gitster@pobox.com> | 2021-12-10 14:35:13 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-12-10 14:35:13 -0800 |
| commit | b8148376a2dbb02ade419c2e3fdc478c1f0981dd (patch) | |
| tree | 93c26104ae0f7c1052b3369263c61187745f4fb5 /refs/refs-internal.h | |
| parent | Merge branch 'jt/midx-doc-fix' (diff) | |
| parent | refs: drop force_create argument of create_reflog API (diff) | |
| download | git-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.h | 2 |
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, |
