Show log instead of diffstat for unpushed changes.

* magit.el (magit-update-status): Use git-log and wash the output.
This commit is contained in:
Marius Vollmer 2008-08-12 00:16:15 +03:00
parent 1fab257814
commit 3d2316835a

View file

@ -430,8 +430,8 @@ pushed.
"git" "diff" "--cached")
(if remote
(magit-insert-section 'unpushed
"Unpushed changes:" 'nil
"git" "diff" "--stat"
"Unpushed commits:" 'magit-wash-log
"git" "log" "--pretty=oneline"
(format "%s/%s..HEAD" remote branch))))
(goto-line old-line)
(magit-goto-section old-section))))