Permalink
Browse files

Apply @nsoranzo's improvement for git diff.

  • Loading branch information...
jmchilton committed Sep 23, 2016
1 parent 34538de commit 6f91719619ee0c6e52f5a3fc16bb6368b4eda5b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 planemo/git.py
@@ -47,7 +47,7 @@ def command_clone(ctx, src, dest, bare=False, branch=None):

def diff(ctx, directory, range):
"""Produce a list of diff-ed files for commit range."""
cmd_template = "cd '%s' && git diff --name-only '%s'"
cmd_template = "cd '%s' && git diff --name-only '%s' --"
cmd = cmd_template % (directory, range)
stdout, _ = io.communicate(
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE

0 comments on commit 6f91719

Please sign in to comment.