From 98574722112479b849817be42731c203cde85493 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 29 May 2020 10:45:00 +0200 Subject: [PATCH] fix removing of remotes we have to save the remote config after removing the section Signed-off-by: Dominik Csapak --- src/api2/config/remote.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/api2/config/remote.rs b/src/api2/config/remote.rs index f30535a1..187515b8 100644 --- a/src/api2/config/remote.rs +++ b/src/api2/config/remote.rs @@ -269,6 +269,8 @@ pub fn delete_remote(name: String, digest: Option) -> Result<(), Error> None => bail!("remote '{}' does not exist.", name), } + remote::save_config(&config)?; + Ok(()) }