]> granicus.if.org Git - git/commit
config: use OPT_FILENAME()
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Thu, 27 Dec 2018 15:56:09 +0000 (16:56 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Jan 2019 21:39:59 +0000 (13:39 -0800)
commit27382d073811bf6aed272e7c6a5cb32b5ef544c0
treeee371bb1ef824c14e8a829e517a68d6f43372186
parent8f7c7f55555818ff6216230b1a533144a3fdc719
config: use OPT_FILENAME()

Do not handle prefix directly. It's simpler to use OPT_FILENAME()
instead. The other reason for doing this is because this code (where
the deleted code is) will be factored out and called when "prefix" is
not available.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/config.c