diff --relative: output paths as relative to the current subdirectory
[gitweb.git] / builtin-fetch-pack.c
index 807fa93b53ad16552b7d869470f2ab59a325808a..e68e01592d044a2c2570f096668856eef5caa1a2 100644 (file)
@@ -783,7 +783,6 @@ struct ref *fetch_pack(struct fetch_pack_args *my_args,
                        unlink(shallow);
                        rollback_lock_file(&lock);
                } else {
-                       close(fd);
                        commit_lock_file(&lock);
                }
        }