stgit.el: Run 'git show' with -M to detect renames when showing entire patch
[stgit] / contrib / stgit.el
index b066b14..bd85598 100644 (file)
@@ -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)))))