From: Junio C Hamano Date: Sun, 09 Jun 2013 20:56:20 GMT Subject: Re: [PATCH 6/6] completion: clarify ls-tree, archive, show completion Message-ID: <7vbo7fovez.fsf@alter.siamese.dyndns.org> In-Reply-To: <20130603192555.GK2192@goldbirke> SZEDER Gábor writes: > Now, __git_complete_revlist_file() provides completion both for this > master:Doc notation and for revision ranges, i.e. for > master..n and master...n. However, since neither git > ls-tree nor git archive accept revision ranges, calling > __git_complete_revlist_file() in their completion function would be > misleading. ohh, I missed this part, and you are right. > git show is special, as it understands both the master:Doc > notation and revision ranges, and even the combination of the two, so > calling __git_complete_revlist_file() there would indeed be better.