Kyle Meyer <[email protected]> writes:

> Sam Cramer <[email protected]> writes:

[...]

>> Alternately, is there a way to have the completions sorted so that
>> local branches appear first?
>
> Not at the moment.  There's an issue about sorting branches by commit
> date [*1*] and an issue about positioning branches before tags [*2*].  I
> think that both of these issues, as well as your request, could be
> addressed by the allowing more control over the order in which
> magit-list-refs and friends return refs.

What I said wasn't quite right.  More control over the order in which
magit-list-refs returns branches is needed for the first issue (#2872),
but not the second issue (#2925) or your request.  This is because by
default the refs are already in that order: local branches come before
tags and before remote branches.  But depending on the completion
framework used and on whether it's a "read multiple" prompt, the
completions may be _displayed_ in a different order.  I've merged a PR
that addresses this: https://github.com/magit/magit/pull/3029

-- 
Kyle

-- 
You received this message because you are subscribed to the Google Groups 
"magit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to