Diff with HEAD to find unpushed changes.

This commit is contained in:
Marius Vollmer 2008-08-05 19:54:32 +03:00
parent 2752d49bda
commit 9f7406e5ca

View file

@ -237,7 +237,7 @@
(if remote
(mgit-insert-output "Unpushed changes:" 'mgit-wash-diff
"git" "diff" "--stat"
(format "%s/%s" remote branch))))))))
(format "%s/%s..HEAD" remote branch))))))))
(defun mgit-status (dir)
(interactive (list (mgit-read-top-dir current-prefix-arg)))