##// END OF EJS Templates
git: properly visit child tree objects when resolving a path
Josef 'Jeff' Sipek -
r45449:47ce28a7 default
parent child Browse files
Show More
@@ -56,8 +56,9 b' class gittreemanifest(object):'
56 return val
56 return val
57 t = self._tree
57 t = self._tree
58 comps = upath.split('/')
58 comps = upath.split('/')
59 te = self._tree
59 for comp in comps[:-1]:
60 for comp in comps[:-1]:
60 te = self._tree[comp]
61 te = te[comp]
61 t = self._git_repo[te.id]
62 t = self._git_repo[te.id]
62 ent = t[comps[-1]]
63 ent = t[comps[-1]]
63 if ent.filemode == pygit2.GIT_FILEMODE_BLOB:
64 if ent.filemode == pygit2.GIT_FILEMODE_BLOB:
General Comments 0
You need to be logged in to leave comments. Login now