##// 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 966 comments = "\n".join(comments) + '\n\n'
967 967 patchf.write(comments)
968 968
969 if opts.get('git'):
970 self.diffopts().git = True
969 971 fns, matchfn, anypats = cmdutil.matchpats(repo, pats, opts)
970 972 tip = repo.changelog.tip()
971 973 if top == tip:
@@ -1021,8 +1023,6 b' class queue:'
1021 1023 r = util.unique(dd)
1022 1024 a = util.unique(aa)
1023 1025 filelist = filter(matchfn, util.unique(m + r + a))
1024 if opts.get('git'):
1025 self.diffopts().git = True
1026 1026 patch.diff(repo, patchparent, files=filelist, match=matchfn,
1027 1027 fp=patchf, changes=(m, a, r, [], u),
1028 1028 opts=self.diffopts())
General Comments 0
You need to be logged in to leave comments. Login now