diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-02-22 12:23:31 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 10:23:53 -0800 |
commit | 2ee35c428e0685b4fc3bc2e828326b6fcefb78c0 (patch) | |
tree | 813dd95f9803286d8337ba1ad25e9feed60b6bde /test-submodule-config.c | |
parent | c397debf3d046713ffd040f2c7da5e6921121ce8 (diff) | |
download | git-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 'test-submodule-config.c')
0 files changed, 0 insertions, 0 deletions