##// END OF EJS Templates
qrefresh: respect --git even in the slow path
Alexis S. L. Carvalho -
r3698:a9090b26 default
parent child Browse files
Show More
@@ -966,6 +966,8 b' class queue:'
966 comments = "\n".join(comments) + '\n\n'
966 comments = "\n".join(comments) + '\n\n'
967 patchf.write(comments)
967 patchf.write(comments)
968
968
969 if opts.get('git'):
970 self.diffopts().git = True
969 fns, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)
971 fns, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)
970 tip = repo.changelog.tip()
972 tip = repo.changelog.tip()
971 if top == tip:
973 if top == tip:
@@ -1021,8 +1023,6 b' class queue:'
1021 r = util.unique(dd)
1023 r = util.unique(dd)
1022 a = util.unique(aa)
1024 a = util.unique(aa)
1023 filelist = filter(matchfn, util.unique(m + r + a))
1025 filelist = filter(matchfn, util.unique(m + r + a))
1024 if opts.get('git'):
1025 self.diffopts().git = True
1026 patch.diff(repo, patchparent, files=filelist, match=matchfn,
1026 patch.diff(repo, patchparent, files=filelist, match=matchfn,
1027 fp=patchf, changes=(m, a, r, [], u),
1027 fp=patchf, changes=(m, a, r, [], u),
1028 opts=self.diffopts())
1028 opts=self.diffopts())
General Comments 0
You need to be logged in to leave comments. Login now