소스 검색

Add _num_type for tags.

Jelmer Vernooij 16 년 전
부모
커밋
a5d0b8f18b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      dulwich/objects.py

+ 1 - 0
dulwich/objects.py

@@ -211,6 +211,7 @@ class Tag(ShaFile):
     """A Git Tag object."""
 
     _type = TAG_ID
+    _num_type = 4
 
     @classmethod
     def from_file(cls, filename):