diff options
| -rw-r--r-- | lisp/magit-refs.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index 868e099..6a7d074 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -571,7 +571,7 @@ line is inserted at all." (concat "refs/remotes/" remote) magit-buffer-arguments)) (pcase-let ((`(,head-branch ,branch ,ref ,msg) - (cl-substitute "" nil + (cl-substitute nil "" (split-string line "\0") :test #'equal))) (if head-branch @@ -660,7 +660,7 @@ line is inserted at all." (defun magit-refs--format-local-branch (line) (pcase-let ((`(,head ,branch ,ref ,upstream ,u:ref ,u:track ,push ,p:ref ,p:track ,msg) - (cl-substitute "" nil (split-string line "\0") :test #'equal))) + (cl-substitute nil "" (split-string line "\0") :test #'equal))) (when (or (not branch) (magit-refs--insert-refname-p branch)) (let* ((headp (equal head "*")) |
