Remove pack.keep after ref updates in git-fetch
[git/git.git] / builtin-fetch.c
index f5a2718..8e433d1 100644 (file)
@@ -274,6 +274,7 @@ static int fetch_refs(struct transport *transport, struct ref *ref_map)
        int ret = transport_fetch_refs(transport, ref_map);
        if (!ret)
                store_updated_refs(transport->url, ref_map);
+       transport_unlock_pack(transport);
        return ret;
 }