Selaa lähdekoodia

Add _num_type for tags.

Jelmer Vernooij 16 vuotta sitten
vanhempi
commit
a5d0b8f18b
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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):