From b1f4a36f586f779ff7b43a583d3a989f3a45b018 Mon Sep 17 00:00:00 2001 From: Marius Vollmer Date: Wed, 29 Oct 2008 20:22:13 +0200 Subject: [PATCH] Survive old Gits that do not understand git name-rev --always. * magit.el (magit-name-rev): Don't use --always. --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index af188c5d..88e13528 100644 --- a/magit.el +++ b/magit.el @@ -205,7 +205,7 @@ Many Magit faces inherit from this one by default." (defun magit-name-rev (rev) (and rev - (let ((name (magit-shell "git name-rev --always --name-only %s" rev))) + (let ((name (magit-shell "git name-rev --name-only %s" rev))) (if (or (not name) (string= name "undefined")) rev name))))