parse-options: use prefix_filename_except_for_dash() helper
commit0bbe10313e0b61812082d47431e8648f9df48f15
authorJeff King <peff@peff.net>
Sat, 4 Mar 2023 10:31:47 +0000 (4 05:31 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 Mar 2023 21:14:53 +0000 (6 13:14 -0800)
treec56d06405d815384d18ddf37cf28ff11420432cc
parent7ce4088ab78e06fc5c4ae42fc75b65a48bf7b3ff
parse-options: use prefix_filename_except_for_dash() helper

Since our fix_filename()'s only remaining special case is handling "-",
we can use the newly-minted helper function that handles this already.

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