summaryrefslogtreecommitdiff
path: root/test-config.c
diff options
context:
space:
mode:
authorTanay Abhra <tanayabh@gmail.com>2014-08-07 04:59:18 -0700
committerJunio C Hamano <gitster@pobox.com>2014-08-07 11:41:18 -0700
commit79e9ce21fa728edef5b7db12710ae24e091b8f9f (patch)
tree928f18afabd86a25b028275f6fd03219ba1eeb46 /test-config.c
parent155ef25f12329258c06b8875b5e372abec2d348d (diff)
downloadgit-79e9ce21fa728edef5b7db12710ae24e091b8f9f.tar.gz
add a test for semantic errors in config files
Semantic errors (for example, for alias.* variables NULL values are not allowed) in configuration files cause a die printing the line number and file name of the offending value. Add a test documenting that such errors cause a die printing the accurate line number and file name. Signed-off-by: Tanay Abhra <tanayabh@gmail.com> Reviewed-by: Matthieu Moy <Matthieu.Moy@imag.fr> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-config.c')
0 files changed, 0 insertions, 0 deletions