Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

146: git-webrev: Add support for file list argument #275

wants to merge 2 commits into from
Changes from 1 commit
File filter

Filter by extension

Filter by extension

Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -169,8 +169,8 @@ def diff_git_raw(ui, repo, rev1, rev2=None, *files, **opts):
modified, added, removed = [set(l) for l in status[:3]]

files = opts['files']
if files != '':
wanted = set(files.split(','))
if files != b'':
wanted = set(files.split(b','))
modified = modified & wanted
added = added & wanted
removed = removed & wanted