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 /t/helper | |
parent | Merge branch 'hn/reftable' into hn/reftable-coverity-fixes (diff) | |
parent | refs: drop force_create argument of create_reflog API (diff) | |
download | tgif-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 't/helper')
-rw-r--r-- | t/helper/test-ref-store.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/t/helper/test-ref-store.c b/t/helper/test-ref-store.c index 3986665037..73461c29d3 100644 --- a/t/helper/test-ref-store.c +++ b/t/helper/test-ref-store.c @@ -182,11 +182,10 @@ static int cmd_reflog_exists(struct ref_store *refs, const char **argv) static int cmd_create_reflog(struct ref_store *refs, const char **argv) { const char *refname = notnull(*argv++, "refname"); - int force_create = arg_flags(*argv++, "force-create"); struct strbuf err = STRBUF_INIT; int ret; - ret = refs_create_reflog(refs, refname, force_create, &err); + ret = refs_create_reflog(refs, refname, &err); if (err.len) puts(err.buf); return ret; |