Explorar o código

Add _num_type for tags.

Jelmer Vernooij %!s(int64=16) %!d(string=hai) anos
pai
achega
a5d0b8f18b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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):