show HEAD in magit log

332 Views Asked by At

I would like to know if there is a way to alter the way Magit highlight the current checked out branch on the magit-log. git log --decorate will show the HEAD at the checked out commit and Magit show an @ when checking out a commit (with no branch), but, when a branch is checked out, the branch name is enclosed in a rectangle as shown below:

enter image description here

However, when running emacs from a terminal, the same checked out branch will appear as:

enter image description here

As you can see, it is not possible to identify the current checked out branch from.

I tried to customize-face but this did not work...

Thank you for the help, Lorenzo

1

There are 1 best solutions below

3
tarsius On

Customize magit-branch-current so that it differs from magit-branch-local. The difference obviously has to involve a property which actually has an effect in a terminal, such as the foreground color.