diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-10 22:35:13 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-10 22:35:13 (GMT) |
commit | b8148376a2dbb02ade419c2e3fdc478c1f0981dd (patch) | |
tree | 93c26104ae0f7c1052b3369263c61187745f4fb5 /builtin/checkout.c | |
parent | cdac0caddd21c9469ca09f9942cb0e9bc3649204 (diff) | |
parent | 7b089120d9e0065978da461f8ccf42000e6760a4 (diff) | |
download | git-b8148376a2dbb02ade419c2e3fdc478c1f0981dd.zip git-b8148376a2dbb02ade419c2e3fdc478c1f0981dd.tar.gz git-b8148376a2dbb02ade419c2e3fdc478c1f0981dd.tar.bz2 |
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 'builtin/checkout.c')
-rw-r--r-- | builtin/checkout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/checkout.c b/builtin/checkout.c index 43d0275..3fe87a6 100644 --- a/builtin/checkout.c +++ b/builtin/checkout.c @@ -885,7 +885,7 @@ static void update_refs_for_switch(const struct checkout_opts *opts, int ret; struct strbuf err = STRBUF_INIT; - ret = safe_create_reflog(refname, 1, &err); + ret = safe_create_reflog(refname, &err); if (ret) { fprintf(stderr, _("Can not do reflog for '%s': %s\n"), opts->new_orphan_branch, err.buf); |