Re: [PATCH] git.el: Only show completions from refs/heads
- From
- Alexandre Julliard <julliard@winehq.org>
- Date
- Mar 3, 2009, 14:48 UTC
- Message-ID
- <87tz6aslv0.fsf@wine.dyndns.org>
- In-Reply-To
- <87zlg4qsfk.fsf@krank.kagedal.org>
David Kågedal <davidk@lysator.liu.se> writes:
Show 9 quoted lines
> Yes, but the typical uses differ a lot. The (overwhelmingly) typical > use of checkout is to switch to another branch. The typical use of > cherry-pick is to pick any commit and not treat branch heads > specially. > > So when switching branches, I obviously want a simple way to select > which branch to switch to. When cherry-picking, I would need some > simple way of picking any single commit, but that's hard so making it > easy to pick any named commit is probably the reasonable solution.
It sounds like what you want is to customize it independently for each operation. That would be better than having two completion functions, where it's not clear how they differ and why only one can be customized.
-- Alexandre Julliard julliard@winehq.org