From: Gustav Hållberg Date: Wed, 12 May 2010 18:14:13 +0000 (+0200) Subject: stgit.el: Honor stgit-find-copies-harder when showing entire patches X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/a27d0b751522c2a787ec350bd965a6d2c82ea3a7 stgit.el: Honor stgit-find-copies-harder when showing entire patches Signed-off-by: Gustav Hållberg Signed-off-by: David Kågedal --- 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)))))