upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib/git/mod.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-09-06 07:47:13 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-09-06 07:47:13 +0100
commita5a662632b61ef2b35946af1e93f30a885ea1db2 (patch)
tree938fac721d85ad771a237999b7212ee6ea72d77d /src/lib/git/mod.rs
parentfad3f8fddffb55597432243e129e4012034b3627 (diff)
feat(remote): fetch protocol selection / fallback
enable override from nostr url clone url is local use local otherwise try https unathenticated, ssh, then https authenticated
Diffstat (limited to 'src/lib/git/mod.rs')
-rw-r--r--src/lib/git/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/git/mod.rs b/src/lib/git/mod.rs
index f92272f..72717f7 100644
--- a/src/lib/git/mod.rs
+++ b/src/lib/git/mod.rs
@@ -11,6 +11,7 @@ use nostr_sdk::hashes::{sha1::Hash as Sha1Hash, Hash};
11use crate::git_events::{get_commit_id_from_patch, tag_value}; 11use crate::git_events::{get_commit_id_from_patch, tag_value};
12pub mod identify_ahead_behind; 12pub mod identify_ahead_behind;
13pub mod nostr_url; 13pub mod nostr_url;
14pub mod utils;
14 15
15pub struct Repo { 16pub struct Repo {
16 pub git_repo: git2::Repository, 17 pub git_repo: git2::Repository,