---
 magit.el |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/magit.el b/magit.el
index 66b663c..bbceb74 100644
--- a/magit.el
+++ b/magit.el
@@ -2497,6 +2497,8 @@ must return a string which will represent the log line.")
                        'face (cond
                               ((string= r "refs/stash")
                                'magit-log-head-label-local)
+                               ((not (match-string 1 r))
+                                nil)
                               ((string= (match-string 1 r) "remotes")
                                'magit-log-head-label-remote)
                               ((string-match "^patches/[^/]*$" (match-string 1 
r)) ; Stacked Git
-- 
1.7.3.1.554.gaf42d.dirty

Reply via email to