Re: [PATCH 30/44] connect: pass full packet reader when parsing v2 refs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 13 May 2020 at 02:56, brian m. carlson
<sandals@xxxxxxxxxxxxxxxxxxxx> wrote:
> @@ -466,9 +467,10 @@ struct ref **get_remote_refs(int fd_out, struct packet_reader *reader,
>         }
>         packet_flush(fd_out);
>
> +

Ah, this is where that line from patch 2 went. ;-)


>         /* Process response from server */
>         while (packet_reader_read(reader) == PACKET_READ_NORMAL) {
> -               if (!process_ref_v2(reader->line, &list))
> +               if (!process_ref_v2(reader, &list))
>                         die(_("invalid ls-refs response: %s"), reader->line);
>         }

Martin



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux