X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=builtin-fetch--tool.c;h=ed4d5de5d5e6d0bef5b29f3d21a3e58ff7778c8b;hb=27c1dbea3e3a23b3c4b3707dfc9a71c3279ae279;hp=12adb3833cd60771f8e63b2ebaecff3769fa74e2;hpb=baf5597ae43398e485f63f8e9216d34b5cd0a0d6;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)