Lazily open pack index files on demand
[gitweb.git] / send-pack.c
index d5b51628dfbcc44b22b5069df19eeac67dda1e57..83ee87dcf82d1720c1c39ae377b4c7a595c5a059 100644 (file)
@@ -393,7 +393,7 @@ int main(int argc, char **argv)
                usage(send_pack_usage);
        verify_remote_names(nr_heads, heads);
 
-       pid = git_connect(fd, dest, receivepack);
+       pid = git_connect(fd, dest, receivepack, verbose ? CONNECT_VERBOSE : 0);
        if (pid < 0)
                return 1;
        ret = send_pack(fd[0], fd[1], nr_heads, heads);