diff options
author | 2020-10-10 13:05:51 +0200 | |
---|---|---|
committer | 2020-10-10 13:06:18 +0200 | |
commit | 830dbd5ce612cd82e7f6f7f73251071f3ca30ac0 (patch) | |
tree | 483f5174c3d9c7192d97f66acd769ffcc9d519fc | |
parent | ea1706b7e5ef7f1634331bfdb66405e37f47b9df (diff) | |
download | shell_utils-830dbd5ce612cd82e7f6f7f73251071f3ca30ac0.tar.gz shell_utils-830dbd5ce612cd82e7f6f7f73251071f3ca30ac0.tar.xz shell_utils-830dbd5ce612cd82e7f6f7f73251071f3ca30ac0.zip |
fix(git-network.rb): Use new URL for my private cgit repositories
-rw-r--r-- | git-network.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-network.rb b/git-network.rb index 83ff439..493389a 100644 --- a/git-network.rb +++ b/git-network.rb @@ -30,8 +30,8 @@ host_name = nil hdata = /^(?:git@)?([\w.-]+):.+$/.match(origin_url) host_name = hdata[1] if hdata -if %w[lorelei git.deparis.io].include?(host_name) - url = "https://git.deparis.io/#{project_name}/log/?h=#{branch}" +if %w[lorelei git.deparis.io git.umaneti.net].include?(host_name) + url = "https://git.umaneti.net/#{project_name}/log/?h=#{branch}" elsif host_name == 'github.com' url = "https://github.com/#{project_name}/network" else |