* magit.el (magit-update-status): Bring back Unpushed commit.

This commit is contained in:
Marius Vollmer 2008-08-16 21:59:30 +03:00
parent b4efebca2f
commit 5072939384

View file

@ -469,10 +469,11 @@ pushed.
(magit-insert-section 'staged
"Staged changes:" 'magit-wash-diff
"git" "diff" "--cached")
(if remote
(magit-insert-section 'unpushed
"Recent commits:" 'magit-wash-log
"git" "log" "--graph" "--max-count=10"
"--pretty=oneline"))
"Unpushed commits:" 'magit-wash-log
"git" "log" "--graph" "--pretty=oneline"
(format "%s/%s..HEAD" remote branch))))
(magit-goto-line old-line)
(magit-goto-section old-section))
(magit-refresh-marks-in-buffer buf)))