##// END OF EJS Templates
patch: handle 'gitpatches' being empty, but not none
Dan Villiom Podlaski Christiansen -
r15086:db0646af stable
parent child Browse files
Show More
@@ -1199,7 +1199,7 b' def iterhunks(fp):'
1199 m = gitre.match(x)
1199 m = gitre.match(x)
1200 if not m:
1200 if not m:
1201 continue
1201 continue
1202 if gitpatches is None:
1202 if not gitpatches:
1203 # scan whole input for git metadata
1203 # scan whole input for git metadata
1204 gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp
1204 gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp
1205 in scangitpatch(lr, x)]
1205 in scangitpatch(lr, x)]
General Comments 0
You need to be logged in to leave comments. Login now