浏览代码

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):