From d5b60fc53fe163bc50673be1fb2c4e539ac910f7 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Sat, 7 Nov 2009 20:37:43 +0200 Subject: [PATCH] Use --decorate=full so that it works again with Git 1.6.4. * magit.el (magit-configure-have-decorate): (magit-refresh-log-buffer): Here. --- magit.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/magit.el b/magit.el index a7b0baef..6df6ba17 100644 --- a/magit.el +++ b/magit.el @@ -2894,7 +2894,7 @@ Prefix arg means justify as well." (defun magit-configure-have-decorate () (if (eq magit-have-decorate 'unset) - (let ((res (magit-git-exit-code "log" "--decorate" "--max-count=0"))) + (let ((res (magit-git-exit-code "log" "--decorate=full" "--max-count=0"))) (setq magit-have-decorate (eq res 0))))) (defun magit-refresh-log-buffer (range style args) @@ -2907,7 +2907,7 @@ Prefix arg means justify as well." `("log" ,(format "--max-count=%s" magit-log-cutoff-length) ,style - ,@(if magit-have-decorate (list "--decorate")) + ,@(if magit-have-decorate (list "--decorate=full")) ,@(if magit-have-graph (list "--graph")) ,args "--"))))