]> git.ipfire.org Git - thirdparty/git.git/commit
t1300: fix config file syntax error descriptions
authorAndrei Rybak <rybak.a.v@gmail.com>
Mon, 17 Apr 2023 19:10:40 +0000 (21:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 3 May 2023 15:52:45 +0000 (08:52 -0700)
commit6fc68e7ca3363a15104e7fc30fd1cae4758ac91c
treef2876d6c9a41da3ded49d28d1ea03d9c90a43826
parented5288cff22b280f83987ab521fbe451f603213c
t1300: fix config file syntax error descriptions

Three tests in t1300-config.sh check that "git config --get" barfs when
the config file contains various syntax errors: key=value pair without
equals sign, broken section line, and broken value string.  The sample
config files include a comment describing the kind of broken syntax.
This description seems to have been copy-pasted from the "broken section
line" sample to the other two samples.

Fix descriptions of broken config file syntax in samples used in
t1300-config.sh.

Signed-off-by: Andrei Rybak <rybak.a.v@gmail.com>
Reviewed-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1300-config.sh