1046
1046
return sha1, length, None
1048
1048
def _add_text(self, key, parents, text, nostore_sha=None, random_id=False):
1050
1050
self._index._check_write_ok()
1051
1051
self._check_add(key, None, random_id, check_content=False)
1052
1052
if text.__class__ is not str: