<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><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 data-mce-bogus="1" class=""></div><div class=""><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">gbn-sstudies-mv:SmarkDown <span style="color: #f5f5f5; font-family: Monaco; font-size: 13px; background-color: #000000;" data-mce-style="color: #f5f5f5; font-family: Monaco; font-size: 13px; background-color: #000000;" class="">sstudies</span>$ swift build</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Cloning <a href="https://github.com/SwiftStudies/Duration.git" class="">https://github.com/SwiftStudies/Duration.git</a></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #5330e1;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #5330e1;" class="">/usr/local/bin/git</span> -C /Users/<span style="color: #f5f5f5; font-family: Monaco; font-size: 13px; background-color: #000000;" data-mce-style="color: #f5f5f5; font-family: Monaco; font-size: 13px; background-color: #000000;" class="">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: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">Unknown option: -C</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">usage: git [--version] [--help] [-c name=value]</div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&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: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&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: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&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: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class="">&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: rgb(245, 245, 245); background-color: rgb(0, 0, 0); min-height: 17px;" class=""><br class=""></div><div style="margin: 0px; font-size: 13px; line-height: normal; font-family: Monaco; color: rgb(245, 245, 245); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #c33720;" data-mce-style="font-variant-ligatures: no-common-ligatures; color: #c33720;" class="">error:</span> exit(129): git -C /Users/<span style="color: #f5f5f5; font-family: Monaco; font-size: 13px; background-color: #000000;" data-mce-style="color: #f5f5f5; font-family: Monaco; font-size: 13px; background-color: #000000;" class="">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=""></body></html>