Files
git/builtin
Libor Pechacek b09c53a3e3 Sanity-check config variable names
Sanity-check config variable names when adding and retrieving them.  As a side
effect code duplication between git_config_set_multivar and get_value (in
builtin/config.c) was removed and the common functionality was placed in
git_config_parse_key.

This breaks a test in t1300 which used invalid section-less keys in the tests
for "git -c". However, allowing such names there was useless, since there was
no way to set them via config file, and no part of git actually tried to use
section-less keys. This patch updates the test to use more realistic examples
as well as adding its own test.

Signed-off-by: Libor Pechacek <lpechacek@suse.cz>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-02-22 15:19:45 -08:00
..
2010-12-12 21:49:53 -08:00
2010-11-24 15:55:19 -08:00
2010-11-24 15:55:19 -08:00
2011-01-12 21:26:51 -08:00
2011-02-22 15:19:45 -08:00
2010-12-12 21:49:50 -08:00
2010-12-10 12:58:06 -08:00
2010-12-12 21:49:52 -08:00
2010-11-24 15:55:19 -08:00
2010-11-15 10:04:43 -08:00
2010-12-08 11:24:12 -08:00
2010-11-24 15:55:19 -08:00
2010-11-17 15:01:00 -08:00
2010-12-08 11:24:13 -08:00
2010-11-15 10:04:43 -08:00