chiark
/
gitweb
/
~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
stgit.el: Run 'git show' with -M to detect renames when showing entire patch
[stgit]
/
contrib
/
stgit.el
diff --git
a/contrib/stgit.el
b/contrib/stgit.el
index b066b14ed50bf41f201267dc70fe620ea585a630..bd8559874dd33e9d4cd6dab5fd260ea833751137 100644
(file)
--- a/
contrib/stgit.el
+++ b/
contrib/stgit.el
@@
-786,7
+786,7
@@
(defun stgit-show ()
;; just one file
(stgit-run-git "diff" (concat id "^") id "--"
(cdr patched-file)))))
;; just one file
(stgit-run-git "diff" (concat id "^") id "--"
(cdr patched-file)))))
- (stgit-run "show" "-O" "--patch-with-stat" patchsym))
+ (stgit-run "show" "-O" "--patch-with-stat"
"-O" "-M"
patchsym))
(with-current-buffer standard-output
(goto-char (point-min))
(diff-mode)))))
(with-current-buffer standard-output
(goto-char (point-min))
(diff-mode)))))