Skip to content

Commit 8d6615c

Browse files
sergiomb2twaugh
authored andcommitted
With view we always use filterdiff, even if we don’t have any arguments.
1 parent 5ec4612 commit 8d6615c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

patchview/patchview-wrapper

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ if tool_cmd.endswith("view"):
6161
# pipeline: first_pipe | second_pipe | editor
6262
tool_cmd = tool_cmd[:-4] # remove "view"
6363
git_cmd = [tool, tool_cmd] + largs
64-
patchview_cmd = ["patchview"] + rargs + unknown
64+
patchview_cmd = ["filterdiff"] + rargs + unknown
6565

6666
p1 = Popen(git_cmd, stdout=PIPE, env=enviro, cwd='.')
6767
p2 = Popen(patchview_cmd, stdin=p1.stdout, stdout=PIPE, env=enviro, cwd=workdir)

0 commit comments

Comments
 (0)