You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*** Checking out RxGesture at "1.2.1"
*** Checking out RxSwift at "4.4.0"
*** Checking out RxDataSources at "3.1.0"
*** Checking out SnapKit at "4.2.0"
<- Waiting here to clone RxSwift twice.
...... (Omitting other output not related to this issue)
Expected outcome
Carthage should complete check out phase immediately since nothing changed (Cartfile.resolved not changed) here. But in this example, both RxGesture and RxDataSources have a RxSwift submodule.
In CarthageKit/Git.swift we have:
This method remove submodule directory entirely and clone it again which seems not necessary.
This behavior is introduced in fe918b1 as a fix of #76
Can we optimize the solution by trying checkout submodule first and only when we failed to checkout the specific commit, we clone it again?
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
which carthage
: /usr/local/bin/carthagecarthage version
: 0.31.2xcodebuild -version
: Xcode 10.1 Build version 10B61--no-build
? no--no-use-binaries
? yes--use-submodules
? no--cache-builds
? yes--new-resolver
? noCartfile
Carthage Output
** Command **
Actual outcome
Expected outcome
Carthage should complete check out phase immediately since nothing changed (Cartfile.resolved not changed) here. But in this example, both RxGesture and RxDataSources have a RxSwift submodule.
In CarthageKit/Git.swift we have:
Carthage/Source/CarthageKit/Git.swift
Lines 217 to 224 in 8dea448
This method remove submodule directory entirely and clone it again which seems not necessary.
This behavior is introduced in fe918b1 as a fix of #76
Can we optimize the solution by trying checkout submodule first and only when we failed to checkout the specific commit, we clone it again?
The text was updated successfully, but these errors were encountered: