aboutsummaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2015-08-23 13:29:57 +0200
committerJonas Bernoulli <jonas@bernoul.li>2015-08-23 13:29:57 +0200
commit754cbd3e7716c104c474a0f9b9870fc9e9e0d627 (patch)
tree705142d44c86fd59b3299dfb8e04d42fd68167e6 /lisp
parent9f7f11301b1b99f84be3b5403b35e9622cfa8d82 (diff)
magit-format-ref-labels: fix --simplify-by-decoration kludge
Diffstat (limited to 'lisp')
-rw-r--r--lisp/magit-git.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index 26c9b90..4f49446 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -830,7 +830,7 @@ Return a list of two integers: (A>B B>A)."
(save-match-data
(let ((regexp "\\(, \\|tag: \\| -> \\|[()]\\)") head names)
(if (and (derived-mode-p 'magit-log-mode)
- (member "--simplify-by-decoration" (nth 2 magit-refresh-args)))
+ (member "--simplify-by-decoration" (cadr magit-refresh-args)))
(let ((branches (magit-list-local-branch-names))
(re (format "^%s/.+" (regexp-opt (magit-list-remotes)))))
(setq names