diff options
| author | Junio C Hamano <gitster@pobox.com> | 2021-12-07 12:45:15 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2021-12-07 12:45:15 -0800 |
| commit | 4e26066009ef3d4e725da075f1bed39630e4da9f (patch) | |
| tree | 1986844d3ea7c07d912b662d088c80639917f347 /refs.h | |
| parent | bb4921cf45e11d063e7bbe55f594adf8f0077d5d (diff) | |
| parent | 7b089120d9e0065978da461f8ccf42000e6760a4 (diff) | |
| download | git-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.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, |
