diff options
author | Marius Mathiesen <marius.mathiesen@gmail.com> | 2009-03-19 12:59:44 +0100 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2009-04-22 15:17:02 +0200 |
commit | 52049c79a006cd0daff49bad684034d74f7a2294 (patch) | |
tree | 577e443a8f5c9a4487fec46085c75b30b2f3ae01 /script/git-daemon | |
parent | e3d29aed5c11b54b6a0a15eaec4ea0836f77dc97 (diff) | |
download | gitorious-mainline-outdated-52049c79a006cd0daff49bad684034d74f7a2294.zip gitorious-mainline-outdated-52049c79a006cd0daff49bad684034d74f7a2294.tar.gz gitorious-mainline-outdated-52049c79a006cd0daff49bad684034d74f7a2294.tar.bz2 |
Adding protocol attribute to Cloner:
- The git daemon sets this as 'git'
- The http cloning metal sets it as 'http'
The migration includes setting all previous clones to 'git'
Diffstat (limited to 'script/git-daemon')
-rwxr-xr-x | script/git-daemon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/git-daemon b/script/git-daemon index 0fc2642..472c3eb 100755 --- a/script/git-daemon +++ b/script/git-daemon @@ -112,7 +112,7 @@ module Git else geoip = GeoIP.new(File.join(RAILS_ROOT, "data", "GeoIP.dat")) localization = geoip.country(ip) - repository.cloned_from(ip, localization[3], localization[5]) + repository.cloned_from(ip, localization[3], localization[5], 'git') end Dir.chdir(real_path) do |