Re: What's cooking in git.git (Jun 2013, #03; Thu, 6)
- From
SZEDER Gábor <szeder@ira.uka.de>
- Date
- Jun 7, 2013, 20:06 UTC
- Message-ID
- <20130607200657.GC31625@goldbirke>
- In-Reply-To
- <CALkWK0mkQqopPBrmO1e20nN_kbNLgcR4cA9z7nOfA4q_2GxvMg@mail.gmail.com>
On Sat, Jun 08, 2013 at 01:17:28AM +0530, Ramkumar Ramachandra wrote:
Show 6 quoted lines
> SZEDER Gábor wrote: > > because nowadays __git_complete_file() is a wrapper around > > __git_complete_revlist_file(). > > What? It was never anything different from a poorly-named alias for > __git_complete_revlist_file().
Again: __git_complete_file() has been there since the completion script was first included in git.
> You have already agreed that > __git_complete_file() is a horrible name, so why not deprecate it?
I am not against deprecating it, and by "it" I mean the function name.
> Whom is this confusion benefiting, and how is it any "cleaner"?
It's clearer because of the reasons I gave in my other email in the discussion of the patch.
Plus it would avoid commits on master with incorrect commit messages.
> If > you're arguing about expanding __git_complete_file(), don't do that: > just write a new function and give it a proper name.
I am not arguing about that.