]> git.ipfire.org Git - thirdparty/git.git/commit - t/t1308-config-set.sh
test-config: add tests for the config_set API
authorTanay Abhra <tanayabh@gmail.com>
Mon, 28 Jul 2014 10:10:39 +0000 (03:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jul 2014 21:33:36 +0000 (14:33 -0700)
commit4c715ebb96acc77008e9cbebc381738611c6006f
tree5bbacad10430f77bdc39119df59395ea5049321f
parent3c8687a73eeffc21f5a0b3916d38e46ff985933d
test-config: add tests for the config_set API

Expose the `config_set` C API as a set of simple commands in order to
facilitate testing. Add tests for the `config_set` API as well as for
`git_config_get_*()` family for the usual config files.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Tanay Abhra <tanayabh@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitignore
Makefile
t/t1308-config-set.sh [new file with mode: 0755]
test-config.c [new file with mode: 0644]