diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-02-22 12:23:28 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 10:23:52 -0800 |
commit | 45ebdcc99a8d8e7c671eb1db1212d90f5f2db341 (patch) | |
tree | 4ef31953f9eb62f517d24bd40f4af045b4911539 /builtin/check-attr.c | |
parent | submodule--helper: die on config error when cloning module (diff) | |
download | tgif-45ebdcc99a8d8e7c671eb1db1212d90f5f2db341.tar.xz |
remote: die on config error when setting URL
When invoking `git-remote --set-url` we do not check the return
value when writing the actual new URL to the configuration file,
pretending to the user that the configuration has been set while
it was in fact not persisted.
Fix this problem by dying early when setting the config fails.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/check-attr.c')
0 files changed, 0 insertions, 0 deletions