aboutsummaryrefslogtreecommitdiff
path: root/lisp/magit-refs.el
diff options
context:
space:
mode:
authorJonas Bernoulli <jonas@bernoul.li>2025-01-02 14:06:37 +0100
committerJonas Bernoulli <jonas@bernoul.li>2025-01-02 14:06:37 +0100
commit80194f2319396e8523934d2f3fb029a2a33c38b2 (patch)
tree0a6a22d0d38873c21749e6e394824d67d8a49df6 /lisp/magit-refs.el
parent49359e4f459a647557e48b1721e5adc8c68fb1a4 (diff)
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.
Diffstat (limited to 'lisp/magit-refs.el')
-rw-r--r--lisp/magit-refs.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/magit-refs.el b/lisp/magit-refs.el
index ce16c4b..139ce9e 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]")