Move unpulled commits before local changes.

This commit is contained in:
Marius Vollmer 2008-09-07 17:24:32 +03:00
parent 72fa30a698
commit e4ccc99536

View file

@ -1108,13 +1108,14 @@ Please see the manual for a complete description of Magit.
(insert (apply 'format "Rebasing: %s (%s of %s)\n" rebase)))) (insert (apply 'format "Rebasing: %s (%s of %s)\n" rebase))))
(insert "\n") (insert "\n")
(magit-insert-untracked-files) (magit-insert-untracked-files)
(when remote
(magit-insert-unpulled-commits remote branch))
(let ((staged (magit-anything-staged-p))) (let ((staged (magit-anything-staged-p)))
(magit-insert-unstaged-changes (magit-insert-unstaged-changes
(if staged "Unstaged changes:" "Changes:")) (if staged "Unstaged changes:" "Changes:"))
(if staged (if staged
(magit-insert-staged-changes))) (magit-insert-staged-changes)))
(when remote (when remote
(magit-insert-unpulled-commits remote branch)
(magit-insert-unpushed-commits remote branch))))) (magit-insert-unpushed-commits remote branch)))))
(magit-goto-line old-line) (magit-goto-line old-line)
(when (bobp) (when (bobp)