* magit.el (magit-update-status): Bring back Unpushed commit.
This commit is contained in:
parent
b4efebca2f
commit
5072939384
1 changed files with 5 additions and 4 deletions
7
magit.el
7
magit.el
|
@ -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)))
|
||||
|
|
Loading…
Reference in a new issue