2
0
Эх сурвалжийг харах

client: Continue reading revision info on 'ready', too.

Jelmer Vernooij 13 жил өмнө
parent
commit
566e84b697
1 өөрчлөгдсөн 2 нэмэгдсэн , 1 устгасан
  1. 2 1
      dulwich/client.py

+ 2 - 1
dulwich/client.py

@@ -363,7 +363,8 @@ class GitClient(object):
             parts = pkt.rstrip('\n').split(' ')
             if parts[0] == 'ACK':
                 graph_walker.ack(pkt.split(' ')[1])
-            if len(parts) < 3 or parts[2] not in ('continue', 'common'):
+            if len(parts) < 3 or parts[2] not in (
+                    'ready', 'continue', 'common'):
                 break
             pkt = proto.read_pkt_line()
         if "side-band-64k" in capabilities: