Carthage/Carthage

Carthage doesn't appear to "see" latest commit of local repository specified with a relative path

Open

#968 opened on 2015年12月4日

GitHub で見る
 (15 comments) (2 reactions) (0 assignees)Swift (15,179 stars) (1,544 forks)batch import
bughelp wantedupdate

説明

This is kind of an obscure corner case. I have a Cartfile that specifies a dependency on a local repo like this:

git "../ISUtils" 

If I run carthage update I get

$ carthage update
*** Fetching ISUtils
*** Checking out ISUtils at "1.0.0"

I can change the Cartfile to specify the same repo using an absolute path

git "file:///Users/bryan/Documents/ISUtils"

Now if I run carthage update I get

$ carthage update
*** Fetching ISUtils
*** Checking out ISUtils at "1.0.1"

The second checkout is correct, the latest commit is tagged "1.0.1". The commit before that ("HEAD~1") is tagged as "1.0.0".

コントリビューターガイド