X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-fetch--tool.c;h=ed4d5de5d5e6d0bef5b29f3d21a3e58ff7778c8b;hb=20f1eb6b46645115695329a371d412eb3e714865;hp=12adb3833cd60771f8e63b2ebaecff3769fa74e2;hpb=8a912bcb250d8bf57b225e1cf02c0d69d54c8920;p=git.git diff --git a/builtin-fetch--tool.c b/builtin-fetch--tool.c index 12adb3833..ed4d5de5d 100644 --- a/builtin-fetch--tool.c +++ b/builtin-fetch--tool.c @@ -42,7 +42,7 @@ static int update_ref(const char *action, if (!rla) rla = "(reflog update)"; snprintf(msg, sizeof(msg), "%s: %s", rla, action); - lock = lock_any_ref_for_update(refname, oldval); + lock = lock_any_ref_for_update(refname, oldval, 0); if (!lock) return 1; if (write_ref_sha1(lock, sha1, msg) < 0)