108
108
# TODO: Rather than come up with something here, use the old index
110
110
stat_val = (0, 0, 0, 0, stat.S_IFREG | 0644, 0, 0, 0, 0, 0)
112
112
elif entry.kind == "symlink":
119
stat_val = (0, 0, 0, 0, stat.S_IFLNK, 0, 0, 0, 0, 0)
116
121
# Add object to the repository if it didn't exist yet
117
122
if not blob.id in self.repository._git.object_store:
118
123
self.repository._git.object_store.add_object(blob)