summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2016-02-22 12:23:31 +0100
committerJunio C Hamano <gitster@pobox.com>2016-02-22 10:23:53 -0800
commit2ee35c428e0685b4fc3bc2e828326b6fcefb78c0 (patch)
tree813dd95f9803286d8337ba1ad25e9feed60b6bde /t
parentc397debf3d046713ffd040f2c7da5e6921121ce8 (diff)
downloadgit-2ee35c428e0685b4fc3bc2e828326b6fcefb78c0.tar.gz
clone: die on config error in cmd_clone
The clone command does not check for error codes returned by `git_config_set` functions. This may cause the user to end up with an inconsistent repository without any indication with what went wrong. Fix this problem by dying with an error message when we are unable to write the configuration files to disk. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions