'Read a sequence of pkt-lines from the remote git process.
:return: Yields each line of data up to but not including the next
flush-pkt.'

def read_pkt_seq(self):

    pkt = self.read_pkt_line()
    while pkt:
        (yield pkt)
        pkt = self.read_pkt_line()
