Browse Source

Add _num_type for tags.

Jelmer Vernooij 16 năm trước cách đây
mục cha
commit
a5d0b8f18b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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):