Use remote branch for unpushed ref.

This commit is contained in:
Phil Jackson 2010-07-06 00:10:50 +01:00
parent 9e45718491
commit 6599b6ac57

View file

@ -2606,7 +2606,7 @@ insert a line to tell how to insert more of them"
(magit-insert-unstaged-changes (magit-insert-unstaged-changes
(if staged "Unstaged changes:" "Changes:")) (if staged "Unstaged changes:" "Changes:"))
(magit-insert-staged-changes staged no-commit)) (magit-insert-staged-changes staged no-commit))
(magit-insert-unpushed-commits remote branch) (magit-insert-unpushed-commits remote remote-branch)
(run-hooks 'magit-refresh-status-hook))))) (run-hooks 'magit-refresh-status-hook)))))
(defun magit-init (dir) (defun magit-init (dir)