##// END OF EJS Templates
phabricator: rename a variable to clarify that it is the parent filecontext...
Matt Harbison -
r44912:aa9979bb default
parent child Browse files
Show More
@@ -814,8 +814,8 b' def addremoved(pdiff, ctx, removed):'
814 currentPath=fname, oldPath=fname, type=DiffChangeType.DELETE
814 currentPath=fname, oldPath=fname, type=DiffChangeType.DELETE
815 )
815 )
816 pchange.addoldmode(gitmode[ctx.p1()[fname].flags()])
816 pchange.addoldmode(gitmode[ctx.p1()[fname].flags()])
817 fctx = ctx.p1()[fname]
817 oldfctx = ctx.p1()[fname]
818 if not (fctx.isbinary() or notutf8(fctx)):
818 if not (oldfctx.isbinary() or notutf8(oldfctx)):
819 maketext(pchange, ctx, fname)
819 maketext(pchange, ctx, fname)
820
820
821 pdiff.addchange(pchange)
821 pdiff.addchange(pchange)
General Comments 0
You need to be logged in to leave comments. Login now