Revision 695009bc09a667899d06cda44956fea00ab153ab authored by Patrick Steinhardt on 22 February 2016, 11:23:32 UTC, committed by Junio C Hamano on 22 February 2016, 18:23:54 UTC
When creating an empty repository with `git init-db` we do 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 for the user. Fix this problem by dying early 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>
1 parent 2ee35c4
File | Mode | Size |
---|---|---|
bitmap.c | -rw-r--r-- | 5.0 KB |
ewah_bitmap.c | -rw-r--r-- | 16.2 KB |
ewah_io.c | -rw-r--r-- | 5.5 KB |
ewah_rlw.c | -rw-r--r-- | 2.9 KB |
ewok.h | -rw-r--r-- | 6.7 KB |
ewok_rlw.h | -rw-r--r-- | 3.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...