stgit.el: Include stat summary in patch diff
authorGustav Hållberg <gustav@virtutech.com>
Mon, 12 Jan 2009 20:20:13 +0000 (21:20 +0100)
committerKarl Hasselström <kha@treskal.com>
Thu, 22 Jan 2009 22:57:38 +0000 (23:57 +0100)
Run 'stg show' with '-O --patch-with-stat' flags.

Signed-off-by: Gustav Hållberg <gustav@virtutech.com>
Signed-off-by: Karl Hasselström <kha@treskal.com>
contrib/stgit.el

index b2ef43c..a50cffd 100644 (file)
@@ -720,7 +720,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" patchsym))
+        (stgit-run "show" "-O" "--patch-with-stat" patchsym))
       (with-current-buffer standard-output
        (goto-char (point-min))
        (diff-mode)))))