Closed jpascal closed 12 years ago
Ohh, silly me. I suppose that ought to be (lib/mina/git.rb):
- #{echo_cmd %[git clone "#{deploy_to}/scm" . --depth 1 --recursive --branch "#{branch}"]} &&
+ #{echo_cmd %[git clone "file://#{deploy_to}/scm" . --depth 1 --recursive --branch "#{branch}"]} &&
Wait, I'm not sure that's a good idea, using file://
will be slower (because it copies and doesn't use hardlinks). Looks like --depth
is trully redundant afterall.
Ref: http://git-scm.com/book/en/Git-on-the-Server-The-Protocols
Scheduled for v0.2.1.