##// END OF EJS Templates
git: don't yield paths for directories when walking
Josef 'Jeff' Sipek -
r45448:3679c88b default
parent child Browse files
Show More
@@ -173,9 +173,8 b' class gittreemanifest(object):'
173 173 self._git_repo[te.id], match, realname + b'/'
174 174 ):
175 175 yield inner
176 if not match(realname):
177 continue
178 yield pycompat.fsencode(realname)
176 elif match(realname):
177 yield pycompat.fsencode(realname)
179 178
180 179 def walk(self, match):
181 180 # TODO: this is a very lazy way to merge in the pending
General Comments 0
You need to be logged in to leave comments. Login now