From: Gustav Hållberg Date: Fri, 13 Mar 2009 04:02:59 +0000 (+0100) Subject: stgit.el: Run 'git show' with -M to detect renames when showing entire patch X-Git-Tag: v0.15-rc1~37 X-Git-Url: https://git.distorted.org.uk/~mdw/stgit/commitdiff_plain/68048d11396ac8ff09d96a5e1e4d1dee2c27f47a stgit.el: Run 'git show' with -M to detect renames when showing entire patch Signed-off-by: Gustav Hållberg Signed-off-by: Karl Hasselström --- diff --git a/contrib/stgit.el b/contrib/stgit.el index b066b14..bd85598 100644 --- a/contrib/stgit.el +++ b/contrib/stgit.el @@ -786,7 +786,7 @@ With numeric prefix argument, pop that many patches." ;; 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)))))