]> git.ipfire.org Git - thirdparty/git.git/commit
generate-cmdlist.sh: collect config from all config.txt files
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 19 Aug 2018 10:52:10 +0000 (12:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 21 Aug 2018 18:28:11 +0000 (11:28 -0700)
commiteb90ea79c59197e25a40fc3414a75d977f8a8f56
tree3bb04c731533822ee88a435f4efaef5e5fabbca2
parent7e8bfb0412581daf8f3c89909f1d37844e8610dd
generate-cmdlist.sh: collect config from all config.txt files

This script uses Documentation/config.txt as input for "git help
--config" and "git config" completion but it misses the fact that
config.txt includes other txt files. Include all *config.txt as input
when scanning for config keys. This could produce false positives, but
as long as we stick to the blah-config.txt naming convention, we
should be ok.

While at there, move diff.* from config.txt to diff-config.txt where
all other diff config keys are.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
Documentation/diff-config.txt
Makefile
generate-cmdlist.sh