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:
parent
1fab257814
commit
3d2316835a
1 changed files with 2 additions and 2 deletions
4
magit.el
4
magit.el
|
@ -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))))
|
||||
|
|
Loading…
Reference in a new issue