Browse Source

Add comments

John Carr 16 năm trước cách đây
mục cha
commit
b77aec5760
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      dulwich/server.py

+ 2 - 0
dulwich/server.py

@@ -191,9 +191,11 @@ class ReceivePackHandler(Handler):
             client_refs.append(ref.split())
             ref = self.read_pkt_line()
 
+        # client might hang up without sending us any refs
         if len(client_refs) == 0:
             return None
 
+        # backend can now deal with this refs and read a pack using self.read
         self.backend.apply_pack(client_refs, self.read)