Carthage/Carthage

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

オープン

#968 opened on 2015/12/04

 (15 件のコメント) (2 件のリアクション) (0 人の担当者)Swift (1,544 件のフォーク)batch import
bughelp wantedupdate

Repository metrics

Stars
 (15,179 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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".

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