Teach "delta" attribute to pack-objects.
[gitweb.git] / fast-import.c
index 3a2d5ed8e667af06f97d2559b3cffb8a01f94565..ffa00fd3c673f01a72676ea7cd2511b229aa2353 100644 (file)
@@ -1271,7 +1271,7 @@ static int update_branch(struct branch *b)
 
        if (read_ref(b->name, old_sha1))
                hashclr(old_sha1);
-       lock = lock_any_ref_for_update(b->name, old_sha1);
+       lock = lock_any_ref_for_update(b->name, old_sha1, 0);
        if (!lock)
                return error("Unable to lock %s", b->name);
        if (!force_update && !is_null_sha1(old_sha1)) {