<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>The machine is old... I have done many things. Only some of them I can remember :-/</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature">Thank you for your help, I'll get it sorted. <br><br>Sent from my iPhone</div><div><br>On 17 Mar 2016, at 19:54, Max Howell <<a href="mailto:max.howell@apple.com">max.howell@apple.com</a>> wrote:<br><br></div><blockquote type="cite"><div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div></div><div>More likely this is from brew or macports. Xcode has shipped a newer version for a long time now.</div><div><br>On Mar 17, 2016, at 10:21 AM, Swift Studies <<a href="mailto:swiftstudies@icloud.com">swiftstudies@icloud.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div><br data-mce-bogus="1"></div><div>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?</div><div><br>On Mar 17, 2016, at 04:50 PM, Max Howell <<a href="mailto:max.howell@apple.com">max.howell@apple.com</a>> wrote:<br><br></div><div><blockquote type="cite"><div class="msg-quote" style="word-wrap: break-word;" data-mce-style="word-wrap: break-word;"><div><blockquote type="cite" class=""><div class=""><div class=""><div class="">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: </div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;">gbn-sstudies-mv:SmarkDown <span style="color: #f5f5f5; font-family: 'monaco'; font-size: 13px; background-color: #000000;" class="" data-mce-style="color: #f5f5f5; font-family: 'monaco'; font-size: 13px; background-color: #000000;">sstudies</span>$ swift build</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;">Cloning <a href="https://github.com/SwiftStudies/Duration.git" class="" data-mce-href="https://github.com/SwiftStudies/Duration.git">https://github.com/SwiftStudies/Duration.git</a></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;"><span style="color: #5330e1;" class="" data-mce-style="color: #5330e1;">/usr/local/bin/git</span> -C /Users/<span style="color: #f5f5f5; font-family: 'monaco'; font-size: 13px; background-color: #000000;" class="" data-mce-style="color: #f5f5f5; font-family: 'monaco'; font-size: 13px; background-color: #000000;">sstudies</span>/Documents/Code/Swift/SPM/Packages/SmarkDown/Packages/Duration fetch --tags origin</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;">Unknown option: -C</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;">usage: git [--version] [--help] [-c name=value]</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;"> [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;"> [-p|--paginate|--no-pager] [--no-replace-objects] [--bare]</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;"> [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;"> <command> [<args>]</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000; min-height: 17px;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000; min-height: 17px;"><br class=""></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;" class="" data-mce-style="margin: 0px; font-size: 13px; line-height: normal; font-family: 'monaco'; color: #f5f5f5; background-color: #000000;"><span style="color: #c33720;" class="" data-mce-style="color: #c33720;">error:</span> exit(129): git -C /Users/<span style="color: #f5f5f5; font-family: 'monaco'; font-size: 13px; background-color: #000000;" class="" data-mce-style="color: #f5f5f5; font-family: 'monaco'; font-size: 13px; background-color: #000000;">sstudies</span>/Documents/Code/Swift/SPM/Packages/SmarkDown/Packages/Duration fetch --tags origin</div><div class=""><br class=""></div></div><div class="">Is it a git version issue? git --version reveals 1.8.4 which is being picked up from /usr/local/bin/git</div><div class=""><br class=""></div><div class="">Please let me know if you need more information</div></div></div></blockquote><br class=""></div><div>We depend on at least git version 2, I’ll record a bug to report this error in these situations.</div><br class=""></div></blockquote></div></div></blockquote></div></blockquote></body></html>