From 0134ab8eb413b8b81ec8e179897ddb8ea63e134e Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 26 Jul 2024 10:29:33 +0100 Subject: feat(remote): add nostr git remote helper as a simple proxy to the first git server listed in announcement parse clone url as `nostr://naddr123...` --- src/git.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/git.rs') diff --git a/src/git.rs b/src/git.rs index c13b46d..eaea512 100644 --- a/src/git.rs +++ b/src/git.rs @@ -10,7 +10,7 @@ use nostr_sdk::hashes::{sha1::Hash as Sha1Hash, Hash}; use crate::sub_commands::list::{get_commit_id_from_patch, tag_value}; pub struct Repo { - git_repo: git2::Repository, + pub git_repo: git2::Repository, } impl Repo { -- cgit v1.2.3