diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-06 07:47:13 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2024-09-06 07:47:13 +0100 |
| commit | a5a662632b61ef2b35946af1e93f30a885ea1db2 (patch) | |
| tree | 938fac721d85ad771a237999b7212ee6ea72d77d /src/lib/git/mod.rs | |
| parent | fad3f8fddffb55597432243e129e4012034b3627 (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.rs | 1 |
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}; | |||
| 11 | use crate::git_events::{get_commit_id_from_patch, tag_value}; | 11 | use crate::git_events::{get_commit_id_from_patch, tag_value}; |
| 12 | pub mod identify_ahead_behind; | 12 | pub mod identify_ahead_behind; |
| 13 | pub mod nostr_url; | 13 | pub mod nostr_url; |
| 14 | pub mod utils; | ||
| 14 | 15 | ||
| 15 | pub struct Repo { | 16 | pub struct Repo { |
| 16 | pub git_repo: git2::Repository, | 17 | pub git_repo: git2::Repository, |