<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><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 &lt;<a href="mailto:swiftstudies@icloud.com">swiftstudies@icloud.com</a>&gt; 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 &lt;<a href="mailto:max.howell@apple.com">max.howell@apple.com</a>&gt; 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:&nbsp;</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;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [--exec-path[=&lt;path&gt;]] [--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;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [-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;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; [--git-dir=&lt;path&gt;] [--work-tree=&lt;path&gt;] [--namespace=&lt;name&gt;]</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;">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;command&gt; [&lt;args&gt;]</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></body></html>