completion: add comment for test_completion()
commit701ecdf16b3941ad1928520414942776e695308d
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 11 Nov 2012 14:35:53 +0000 (11 15:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 16 Nov 2012 18:55:09 +0000 (16 10:55 -0800)
tree2d3cc333a2d62109493451135a7e3bc632b6717d
parent2cfceefaca16d64baecf0ba9bcd4e05229d9c31b
completion: add comment for test_completion()

So that it's easier to understand what it does.

Also, make sure we pass only the first argument for completion.
Shouldn't cause any functional changes because run_completion only
checks $1.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t9902-completion.sh