~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stgit.el: Honor stgit-find-copies-harder when showing entire patches
[stgit]
/
contrib
/
stgit.el
diff --git
a/contrib/stgit.el
b/contrib/stgit.el
index
564714b
..
fca981d
100644
(file)
--- 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))))
(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)))))
(and space-arg (list "-O" space-arg))
'("--")
(list (stgit-patch-name-at-point)))))