From 33b6a514b9777976f830a2a328cb0afc54a0355b Mon Sep 17 00:00:00 2001 From: Adam Spiers Date: Fri, 15 Nov 2013 20:55:03 -0500 Subject: invoke git blame in more reliable manner --- git-deps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git-deps b/git-deps index 9da6392..774ff8c 100755 --- a/git-deps +++ b/git-deps @@ -205,10 +205,10 @@ class DependencyDetector: return cmd = [ - 'git', 'blame', parent.hex, + 'git', 'blame', '--porcelain', '-L', "%d,+%d" % (hunk.old_start, hunk.old_lines), - path + parent.hex, '--', path ] blame = subprocess.check_output(cmd) -- cgit