Re: [PATCH 6/6] completion: clarify ls-tree, archive, show completion
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 7, 2013, 18:36 UTC
- Message-ID
- <7vd2rxu5ru.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CALkWK0mbVgJHRoNXNkc6n7==-H+caNqvzrzUwspS_Eq2sMfJbg@mail.gmail.com>
Ramkumar Ramachandra <artagnon@gmail.com> writes:
Show 7 quoted lines
> SZEDER Gábor wrote: >> Well, people out there might have completion scriplets for their >> aliases or custom git commands which use __git_complete_file(). >> Removing this function would break those scripts. > > What is the advantage of using __git_complete_file() over > __git_complete_revlist_file()? Isn't it just a misleading alias?
None.
But "Those who have been using it can update their script" is not an answer you give when dealing with a regression.
I think the right thing is to add __git_complete_file() back in; perhaps strip support of A..B/A...B range notations from it, but that is an independent change.