diff options
author | Patrick Steinhardt <ps@pks.im> | 2016-02-22 12:23:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-02-22 10:23:53 -0800 |
commit | ab5e4b67e14cbd09e74d3b19c0553a3716205c45 (patch) | |
tree | 19e413bdcc99240fc2ddf4e76742770cd3c79101 /contrib/thunderbird-patch-inline/appp.sh | |
parent | remote: die on config error when setting URL (diff) | |
download | tgif-ab5e4b67e14cbd09e74d3b19c0553a3716205c45.tar.xz |
remote: die on config error when setting/adding branches
When we add or set new branches (e.g. by `git remote add -f` or
`git remote set-branches`) we do not check for error codes when
writing the branches to the configuration file. When persisting
the configuration failed we are left with a remote that has none
or not all of the branches that should have been set without
notifying the user.
Fix this issue by dying early on configuration error.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/thunderbird-patch-inline/appp.sh')
0 files changed, 0 insertions, 0 deletions