summaryrefslogtreecommitdiff
path: root/builtin-http-fetch.c
diff options
context:
space:
mode:
authorLibravatar Bryan Donlan <bdonlan@fushizen.net>2008-05-04 01:37:52 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-05-05 14:17:00 -0700
commite5c349ba112fc53832c757cef122297718d3a175 (patch)
treebfd7760127650321edd298cae96f8bc663141822 /builtin-http-fetch.c
parentgit-rebase.sh: Fix --merge --abort failures when path contains whitespace (diff)
downloadtgif-e5c349ba112fc53832c757cef122297718d3a175.tar.xz
config.c: Escape backslashes in section names properly
If an element of the configuration key name other than the first or last contains a backslash, it is not escaped on output, but is treated as an escape sequence on input. Thus, the backslash is lost when re-loading the configuration. This patch corrects this by having backslashes escaped properly, and introduces a new test for this bug. Signed-off-by: Bryan Donlan <bdonlan@fushizen.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-http-fetch.c')
0 files changed, 0 insertions, 0 deletions