From 68048d11396ac8ff09d96a5e1e4d1dee2c27f47a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gustav=20H=C3=A5llberg?= Date: Fri, 13 Mar 2009 05:02:59 +0100 Subject: [PATCH] stgit.el: Run 'git show' with -M to detect renames when showing entire patch MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Gustav Hållberg Signed-off-by: Karl Hasselström --- contrib/stgit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))))) -- 2.11.0