branch: elpa/magit commit 80194f2319396e8523934d2f3fb029a2a33c38b2 Author: Jonas Bernoulli <jo...@bernoul.li> Commit: Jonas Bernoulli <jo...@bernoul.li>
magit-refs--format-local-branch: Rename local variable In the next commit this functions starts to deal with the actual "branch description", so let's not use that name for something else. --- lisp/magit-refs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el index ce16c4b549c..139ce9ea49f 100644 --- a/lisp/magit-refs.el +++ b/lisp/magit-refs.el @@ -677,7 +677,7 @@ line is inserted at all." magit-refs-show-push-remote (magit-rev-verify p:ref) (not (equal p:ref u:ref)))) - (branch-desc + (branch-pretty (if branch (magit-refs--propertize-branch branch ref (and headp 'magit-branch-current)) @@ -710,10 +710,10 @@ line is inserted at all." (match-string 1 p:track) (and magit-refs-pad-commit-counts " ")) 'magit-dimmed)))) - (list (1+ (length (concat branch-desc u:ahead p:ahead u:behind))) + (list (1+ (length (concat branch-pretty u:ahead p:ahead u:behind))) branch (magit-refs--format-focus-column branch headp) - branch-desc u:ahead p:ahead + branch-pretty u:ahead p:ahead u:behind (and upstream (concat (if (equal u:track "[gone]")