Sam Cramer <[email protected]> writes:

> Is there a way to have magit prompt for local branches only when
> asking for a branch?

No, not if a command calls magit-list-branches rather than
magit-list-local-branches to generate the collection.

> 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.  I have a patch that does this
in rough form and will put together a PR tonight or tomorrow.

[*1*]: https://github.com/magit/magit/issues/2872
[*2*]: https://github.com/magit/magit/issues/2925

-- 
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