diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-02-22 14:23:31 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 21:23:53 +0300 |
commit | 2ee35c428e0685b4fc3bc2e828326b6fcefb78c0 (patch) | |
tree | 813dd95f9803286d8337ba1ad25e9feed60b6bde /builtin/init-db.c | |
parent | c397debf3d046713ffd040f2c7da5e6921121ce8 (diff) |
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 'builtin/init-db.c')
0 files changed, 0 insertions, 0 deletions