diff options
author | Junio C Hamano <junkio@cox.net> | 2007-05-20 02:18:47 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-20 02:18:47 -0700 |
commit | 063581e9b648b4da3b83061b06aed7ed417411e0 (patch) | |
tree | f9e833dc777db2963aa49bfc2bb5d29b457f33d6 /builtin-fetch--tool.c | |
parent | cc93020f5213b589ff1e512185c47d8c38a4b994 (diff) | |
parent | 68db31cc289c686c4b4454dfbb121aff59a6c602 (diff) | |
download | git-063581e9b648b4da3b83061b06aed7ed417411e0.tar.gz |
Merge branch 'sv/checkout'
* sv/checkout:
git-update-ref: add --no-deref option for overwriting/detaching ref
Diffstat (limited to 'builtin-fetch--tool.c')
-rw-r--r-- | builtin-fetch--tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-fetch--tool.c b/builtin-fetch--tool.c index 12adb3833c..ed4d5de5d5 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) |