OSDN Git Service

compat: die when unable to set core.precomposeunicode
authorPatrick Steinhardt <ps@pks.im>
Mon, 22 Feb 2016 11:23:34 +0000 (12:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 22 Feb 2016 18:23:54 +0000 (10:23 -0800)
commit2f29c1bf34ec12c24072bb54a2c009bd1f17a2ee
tree5a62f2dbbf9401e6d79529cc3554c4012d4f3163
parent6c24dfb67e570407a87fb4ea4bf1c64ad89d5d88
compat: die when unable to set core.precomposeunicode

When calling `git_config_set` to set 'core.precomposeunicode' we
ignore the return value of the function, which may indicate that
we were unable to write the value back to disk. As the function
is only called by init-db we can and should die when an error
occurs.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/precompose_utf8.c