From e6099001485dc0472000e180bafc98e541d52fd2 Mon Sep 17 00:00:00 2001
From: Fontrodona Nicolas <nicolas.fontrodona@ens-lyon.fr>
Date: Wed, 1 Feb 2023 13:45:43 +0100
Subject: [PATCH] src/remote.rs: remote is now public

---
 src/remote.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/remote.rs b/src/remote.rs
index 9de101d..4b09bdc 100644
--- a/src/remote.rs
+++ b/src/remote.rs
@@ -129,7 +129,7 @@ pub fn show() -> () {
 /// - `key` : The remote name to update
 /// - `value`: The value of the key to update
 /// - `global: A bolean indicating whether to update the  global or the local configuration
-pub fn update_config(key: &str, value: &str, global: bool) -> () {
+pub(crate) fn update_config(key: &str, value: &str, global: bool) -> () {
     let mut my_config = parse_config(global);
     let mut remotes = match my_config.gblk_remote {
         Some(r) => r,
-- 
GitLab