This project is archived and is in readonly mode.

#4340 ✓resolved
Anil Wadghule

[Patch] Rails plugin does not get installed for http git repository

Reported by Anil Wadghule | April 7th, 2010 @ 09:45 PM

With latest version of Git (e.g. git version 1.7.0.2+), if you try to install (http git repository) rails plugin e.g. http://github.com/NZKoz/rails_xss.git , it throws following error

fatal: dumb http transport does not support --depth

This is because, http git repository does not support "smart http transport".

Rails plugins with git repositories which support of "smart http transport", will get installed without error. Currently GitHub does not support smart http transport.

I have written patch, assuming in general, most git repositories do not support "smart http transport". Also I could not find any other alternative than doing 'git pull' of repo.

See pastie for more info http://pastie.org/908200

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Pages