Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 6/6] completion: clarify ls-tree, archive, show completion

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:57:39

SZEDER Gábor [off-list ref] writes:
Now, __git_complete_revlist_file() provides completion both for this
master:Doc<TAB> notation and for revision ranges, i.e. for
master..n<TAB> and master...n<TAB>.  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<TAB>
notation and revision ranges, and even the combination of the two, so
calling __git_complete_revlist_file() there would indeed be better.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help