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>
;; 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" patchsym))
+ (stgit-run "show" "-O" "--patch-with-stat" patchsym))
(with-current-buffer standard-output
(goto-char (point-min))
(diff-mode)))))
(with-current-buffer standard-output
(goto-char (point-min))
(diff-mode)))))