The machine is old... I have done many things.  Only some of them I can 
remember :-/

Thank you for your help, I'll get it sorted. 

Sent from my iPhone

> On 17 Mar 2016, at 19:54, Max Howell <max.how...@apple.com> wrote:
> 
> More likely this is from brew or macports. Xcode has shipped a newer version 
> for a long time now.
> 
>> On Mar 17, 2016, at 10:21 AM, Swift Studies <swiftstud...@icloud.com> wrote:
>> 
>> 
>> Ah that's good to know... I assume 1.8.4 is what is installed along with the 
>> XCode command line tools.. What's the best way to upgrade the version 
>> without upsetting XCode?
>> 
>> On Mar 17, 2016, at 04:50 PM, Max Howell <max.how...@apple.com> wrote:
>> 
>>>> I have a package I am building that I have introduced a dependency for, 
>>>> but swift build is failing. It looks like a git error: 
>>>> 
>>>> gbn-sstudies-mv:SmarkDown sstudies$ swift build
>>>> Cloning https://github.com/SwiftStudies/Duration.git
>>>> /usr/local/bin/git -C 
>>>> /Users/sstudies/Documents/Code/Swift/SPM/Packages/SmarkDown/Packages/Duration
>>>>  fetch --tags origin
>>>> Unknown option: -C
>>>> usage: git [--version] [--help] [-c name=value]
>>>>            [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
>>>>            [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]
>>>>            [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
>>>>            <command> [<args>]
>>>> 
>>>> error: exit(129): git -C 
>>>> /Users/sstudies/Documents/Code/Swift/SPM/Packages/SmarkDown/Packages/Duration
>>>>  fetch --tags origin
>>>> 
>>>> Is it a git version issue? git --version reveals 1.8.4 which is being 
>>>> picked up from /usr/local/bin/git
>>>> 
>>>> Please let me know if you need more information
>>> 
>>> We depend on at least git version 2, I’ll record a bug to report this error 
>>> in these situations.
>>> 
_______________________________________________
swift-users mailing list
swift-users@swift.org
https://lists.swift.org/mailman/listinfo/swift-users

Reply via email to