diff options
author | Gustav Hållberg <gustav@gmail.com> | 2010-05-12 20:14:13 +0200 |
---|---|---|
committer | Gustav Hållberg <gustav@gmail.com> | 2010-06-10 09:25:16 +0200 |
commit | a27d0b751522c2a787ec350bd965a6d2c82ea3a7 (patch) | |
tree | 0635e944ec26b4243b7eb789ef217283265b7c65 | |
parent | 108e5c89c7f9be40eea16387bb5eb14d1836b681 (diff) | |
download | stgit-a27d0b751522c2a787ec350bd965a6d2c82ea3a7.tar.gz |
stgit.el: Honor stgit-find-copies-harder when showing entire patches
Signed-off-by: Gustav Hållberg <gustav@gmail.com>
Signed-off-by: David Kågedal <davidk@lysator.liu.se>
-rw-r--r-- | contrib/stgit.el | 3 |
1 files changed, 2 insertions, 1 deletions
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))))) |