Browse files

Be more precise when searching for repos

I had told everyone to set "" as their URL, but last
night discovered that there is an enormous speed penalty for going through
the netscreen and then the SSH tunnel from granite to gerrit, so I'm now
encouraging people to set "gerrit:29418" as their URL instead.

This change allows the git_hooks install task to detect both variants.

Related story:
  ('Teach git_hooks to recognize both "gerrit" and "" URLs')

Change-Id: Ia6aab59e2a39236c7ed2020520bbb365858e40da
Tested-by: Greg Hurrell <>
Reviewed-by: Lann Martin <>
  • Loading branch information...
1 parent b9c117f commit f6ad2fa56eb46ca4967614fb9dddc0da7db1df81 Greg Hurrell committed with lann Nov 19, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 helper.rb
@@ -2,7 +2,7 @@ module Helper
DEFAULT_REPOS = ['causes']
+ GERRIT_REMOTE = 'gerrit('
HOOKS = Dir['hooks/*'].map{|path| path.split('/').last}
SCRIPTS = 'scripts/'

0 comments on commit f6ad2fa

Please sign in to comment.