'Read a command and some arguments from the git client
Only used for the TCP git protocol (git://).
:return: A tuple of (command, [list of arguments]).'

def read_cmd(self):

    line = self.read_pkt_line()
    splice_at = line.find('    ')
    (cmd, args) = (line[:splice_at], line[(splice_at + 1):])
    assert (args[(-1):] == '\x00')
    return (cmd, args[:(-1)].split('\x00'))
