소스 검색

Add comments

John Carr 16 년 전
부모
커밋
b77aec5760
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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)