From c2516ed37e622af5c6d2a3137fde9209887ef905 Mon Sep 17 00:00:00 2001 From: Nathan Weizenbaum Date: Thu, 10 Jun 2010 16:37:20 -0700 Subject: [PATCH] Have magit-push use magit-get-remote. --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index 98ca8c84..4212a1b9 100644 --- a/magit.el +++ b/magit.el @@ -3039,7 +3039,7 @@ typing and automatically refreshes the status buffer." (interactive) (let* ((branch (or (magit-get-current-branch) (error "Don't push a detached head. That's gross"))) - (branch-remote (magit-get "branch" branch "remote")) + (branch-remote (magit-get-remote branch)) (push-remote (if (or current-prefix-arg (not branch-remote)) (magit-read-remote (format "Push %s to" branch)