aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar √Čtienne Deparis 2020-10-10 13:05:51 +0200
committerGravatar √Čtienne Deparis 2020-10-10 13:06:18 +0200
commit830dbd5ce612cd82e7f6f7f73251071f3ca30ac0 (patch)
tree483f5174c3d9c7192d97f66acd769ffcc9d519fc
parentea1706b7e5ef7f1634331bfdb66405e37f47b9df (diff)
downloadshell_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.rb4
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