From 9e457184916fc49878dcb28dbe9b94a042ee4a32 Mon Sep 17 00:00:00 2001 From: Phil Jackson Date: Tue, 6 Jul 2010 00:07:37 +0100 Subject: [PATCH] Formatting. --- magit.el | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/magit.el b/magit.el index c6ae0154..6f71e917 100644 --- a/magit.el +++ b/magit.el @@ -2557,7 +2557,13 @@ insert a line to tell how to insert more of them" (format "branch %s" (propertize remote-branch 'face 'magit-branch))) (remote - (concat remote " " (magit-get "remote" remote "url"))) + (concat + (propertize remote-branch 'face 'magit-branch) + " @ " + remote + " (" + (magit-get "remote" remote "url") + ")")) (t (run-hook-with-args-until-success 'magit-remote-string-hook)))) @@ -2573,11 +2579,11 @@ insert a line to tell how to insert more of them" (no-commit (not head))) (when remote-string (insert "Remote: " remote-string "\n")) - (insert (format "Local: %s %s\n" + (insert (format "Local: %s %s\n" (propertize (or branch "(detached)") 'face 'magit-branch) (abbreviate-file-name default-directory))) - (insert (format "Head: %s\n" + (insert (format "Head: %s\n" (if no-commit "nothing commited (yet)" head))) (let ((merge-heads (magit-file-lines ".git/MERGE_HEAD"))) (if merge-heads