From bdba20d5ccc645b01401e6876005f86a0ca809ae Mon Sep 17 00:00:00 2001 From: Phil Jackson Date: Wed, 30 Jun 2010 15:55:01 +0100 Subject: [PATCH] Fixed the ref/rev typo. --- magit.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magit.el b/magit.el index 163ac635..c38dd2ed 100644 --- a/magit.el +++ b/magit.el @@ -550,7 +550,7 @@ out revs involving HEAD." modifier)) ;; If rev-parse doesn't give us what we want, just use the SHA. (when (or (null name) (string-match-p "\\" name)) - (setq name (magit-rev-parse ref))))) + (setq name (magit-rev-parse rev))))) (setq rev (or name rev)) (when (string-match "^\\(?:tags\\|remotes\\)/\\(.*\\)" rev) (let ((plain-name (match-string 1 rev)))