From 8cbff324e7a237c660056c3fea7781d375403f1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christina=20S=C3=B8rensen?= Date: Mon, 17 Jul 2023 11:04:26 +0200 Subject: [PATCH] refactor: added kind field to GitRepo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christina Sørensen --- src/git.rs | 1 + src/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/git.rs b/src/git.rs index 705d93c..4d64065 100644 --- a/src/git.rs +++ b/src/git.rs @@ -111,6 +111,7 @@ pub struct GitRepo { pub url: String, #[serde(skip_serializing_if = "Option::is_none")] pub flags: Option>, + pub kind: Option, } /// Represents a single operation on a repository diff --git a/src/main.rs b/src/main.rs index 67ec5b3..8e4f4cf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -202,6 +202,7 @@ mod config { path: "/tmp".to_string(), url: "https://github.com/cafkafk/gg".to_string(), flags: Some(vec![Clone, Push]), + kind: None, }, ); }