Small refactor

This commit is contained in:
2025-09-21 21:20:13 +01:00
parent cc6380bdc4
commit 8c95236530
4 changed files with 68 additions and 57 deletions

View File

@@ -115,6 +115,11 @@ behind or ahead the local repository is."
(diff (cl-position "by" branch-status :test #'string=)))
(if (null diff)
(ep/--with-fg-colour "=" ep/success-colour)
(--> diff
1+
(nth it branch-status)
(concat
))
(concat
(cond
((string= status "ahead")