minad / marginalia

:scroll: marginalia.el - Marginalia in the minibuffer
GNU General Public License v3.0
780 stars 27 forks source link

display branch description when switching between them #176

Closed zadca123 closed 3 months ago

zadca123 commented 3 months ago

i was wondering if this feature is feasible i add description of git branches, because branch names are mainly just ticket numbers in my case

minad commented 3 months ago

This is out of scope. Marginalia mainly targets built-in commands.

hmelman commented 3 months ago

It sounds like it could be useful for vc-switch-branch which is built-in.

minad commented 3 months ago

I see. I still don't consider "branches" an Emacs core concept, which we should annotate here. Such a branch annotator must not rely on git due to the vc abstraction, so this was maybe a little misleading above. However I am hesitant to add annotators here, which are too expensive, e.g., which require starting external processes.