From a27d0b751522c2a787ec350bd965a6d2c82ea3a7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gustav=20H=C3=A5llberg?= Date: Wed, 12 May 2010 20:14:13 +0200 Subject: [PATCH] stgit.el: Honor stgit-find-copies-harder when showing entire patches MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Gustav HÃ¥llberg Signed-off-by: David KÃ¥gedal --- contrib/stgit.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/stgit.el b/contrib/stgit.el index 564714b..fca981d 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -2033,7 +2033,8 @@ which stage to diff against in the case of unmerged files." (if (eq patch-id :index) '("--cached") (list unmerged-stage)))) - (let ((args (append '("show" "-O" "--patch-with-stat" "-O" "-M") + (let ((args (append '("show" "-O" "--patch-with-stat") + `("-O" ,(stgit-find-copies-harder-diff-arg)) (and space-arg (list "-O" space-arg)) '("--") (list (stgit-patch-name-at-point))))) -- 2.11.0