diff --git a/builtin-fetch--tool.c b/builtin-fetch--tool.c
index 12adb3833cd60771f8e63b2ebaecff3769fa74e2..e2f8ede9ae4507ed1e431f9d14fc649f6475627d 100644 (file)
--- a/builtin-fetch--tool.c
+++ b/builtin-fetch--tool.c
+#include "builtin.h"
#include "cache.h"
#include "refs.h"
#include "commit.h"
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)