keithpitt / vendor

Dependency management for iOS and OSX development
http://www.vendorkit.com
MIT License
99 stars 7 forks source link

Vendor doesn't update it's cache of a git repo when url changes #6

Closed rayh closed 12 years ago

rayh commented 12 years ago

I initially had a dependency set up as follows:

lib "TTTAttributedLabel", :git => "https://github.com/mattt/TTTAttributedLabel.git"

I then changed it to my own fork:

lib "TTTAttributedLabel", :git => "https://github.com/rayh/TTTAttributedLabel.git"

After doing a vendor install, the mattt version was still being used. I eventually blew away ~/.vendor in order to clear the cache.

keithpitt commented 12 years ago

After looking into this issue, I found the following line:

https://github.com/keithpitt/vendor/blob/master/lib/vendor/vendor_file/library/git.rb#L47

I seem to have already catered for this. After testing it out, I couldn't reproduce the problem. Could you try again on a blank project for me?

keithpitt commented 12 years ago

I think this is fixed.