diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-11 01:35:13 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-11 01:35:13 +0300 |
commit | b8148376a2dbb02ade419c2e3fdc478c1f0981dd (patch) | |
tree | 93c26104ae0f7c1052b3369263c61187745f4fb5 /refs.h | |
parent | cdac0caddd21c9469ca09f9942cb0e9bc3649204 (diff) | |
parent | 7b089120d9e0065978da461f8ccf42000e6760a4 (diff) |
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.h')
-rw-r--r-- | refs.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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, |