Re: [PATCH v4 10/15] clone: die on config error in cmd_clone

2016-02-02 Thread Junio C Hamano
Patrick Steinhardt writes: > 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

[PATCH v4 10/15] clone: die on config error in cmd_clone

2016-02-02 Thread Patrick Steinhardt
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