summaryrefslogtreecommitdiffstats
path: root/src/repo.rs
diff options
context:
space:
mode:
authorCyborus <cyborus@cyborus.xyz>2024-05-17 02:45:36 +0200
committerCyborus <cyborus@cyborus.xyz>2024-05-17 02:45:36 +0200
commit89b0a2b66ed6118429d57aa88afb0fe0c376ce85 (patch)
tree697a4e69a88d1c201ebff8681f32978acc29b313 /src/repo.rs
parentMerge pull request 'don't check ignored files when checking for uncommitted c... (diff)
downloadforgejo-cli-89b0a2b66ed6118429d57aa88afb0fe0c376ce85.tar.xz
forgejo-cli-89b0a2b66ed6118429d57aa88afb0fe0c376ce85.zip
remove outdated comment
Diffstat (limited to '')
-rw-r--r--src/repo.rs27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/repo.rs b/src/repo.rs
index ed61c28..8ba250e 100644
--- a/src/repo.rs
+++ b/src/repo.rs
@@ -41,33 +41,6 @@ impl RepoInfo {
// | | | x | remote | remote |
// | | | i | remote | remote |
// | | | | err | remote |
- //
- // | repo | host | remote | ans-host | ans-repo |
- // |------|------|--------|----------|----------|
- // | l | x | x | repo | repo |
- // | l | x | | repo | repo |
- // | l | | x | repo | repo |
- // | l | | | repo | repo |
- // | s | x | x | host | repo |
- // | s | x | | host | repo |
- // | s | | x | remote | repo |
- // | s | | | err | repo |
- // | | x | x | remote | remote |
- // | | x | | remote | remote |
- // | | | x | remote | remote |
- // | | | | err | remote |
-
- // let repo_name;
- //
- // let repo_url;
- // let remote;
- // let host;
- //
- // let url = if repo_url { repo_url }
- // else if repo_name { host.or(remote) }
- // else { remote.or_host() }
- //
- // let name = repo_name.or(remote)
let mut repo_url: Option<Url> = None;
let mut repo_name: Option<RepoName> = None;