parse-options: drop unused ctx parameter from show_gitcomp()
authorJeff King <peff@peff.net>
Wed, 20 Mar 2019 08:16:27 +0000 (04:16 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Mar 2019 09:34:09 +0000 (18:34 +0900)
commit5205749d2ca81ea1d124ba7d799f4b319084ca68
tree777ad96badb367097e174acf50c6810ab9a4d4f1
parent0f804b0bac39fb696ea74b8dd59549935ec9ca00
parse-options: drop unused ctx parameter from show_gitcomp()

The completion display doesn't actually care about where we are in the
parsing. It's generated completely from the set of available options. So
we don't need to see the parse-options context struct at all.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
parse-options.c