##// END OF EJS Templates
mq: Add --git option to qrefresh
Brendan Cully -
r3086:17747e80 default
parent child Browse files
Show More
@@ -995,6 +995,8 b' class queue:'
995 995 r = list(util.unique(dd))
996 996 a = list(util.unique(aa))
997 997 filelist = filter(matchfn, util.unique(m + r + a))
998 if opts.get('git'):
999 self.diffopts().git = True
998 1000 patch.diff(repo, patchparent, files=filelist, match=matchfn,
999 1001 fp=patchf, changes=(m, a, r, [], u),
1000 1002 opts=self.diffopts())
@@ -1966,6 +1968,7 b' cmdtable = {'
1966 1968 [('e', 'edit', None, _('edit commit message')),
1967 1969 ('m', 'message', '', _('change commit message with <text>')),
1968 1970 ('l', 'logfile', '', _('change commit message with <file> content')),
1971 ('g', 'git', None, _('use git extended diff format')),
1969 1972 ('s', 'short', None, 'short refresh'),
1970 1973 ('I', 'include', [], _('include names matching the given patterns')),
1971 1974 ('X', 'exclude', [], _('exclude names matching the given patterns'))],
General Comments 0
You need to be logged in to leave comments. Login now