##// 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,8 +173,7 b' class gittreemanifest(object):'
173 self._git_repo[te.id], match, realname + b'/'
173 self._git_repo[te.id], match, realname + b'/'
174 ):
174 ):
175 yield inner
175 yield inner
176 if not match(realname):
176 elif match(realname):
177 continue
178 yield pycompat.fsencode(realname)
177 yield pycompat.fsencode(realname)
179
178
180 def walk(self, match):
179 def walk(self, match):
General Comments 0
You need to be logged in to leave comments. Login now