<div dir="ltr">Hi Perlers,<div><br></div><div>    in .git_filters/RevDateURL.smudge the URL is obtained with &quot;git remote get-url origin&quot;, but that doesn&#39;t work on Mac OS X git version 1.9.5 (Apple Git-50.3).  Instead one has to use git remote show origin.</div><div><br></div><div>I&#39;m modifying .git_filters/RevDateURL.smudge to read</div><div><br></div><div><div>$url=`git remote get-url origin 2&gt;/dev/null`;</div><div>if (!$url) { $url=`git remote show origin | grep -i fetch | sed &#39;s/^.*URL: //&#39; 2&gt;/dev/null` }</div><div>$url =~ s/\s+$//m;</div><div><br></div><div>But it strikes me that the editing down from</div><div><br></div><div><div>* remote origin</div><div>  Fetch URL: <a href="http://github.com/OpenSmalltalk/vm">http://github.com/OpenSmalltalk/vm</a></div><div>  Push  URL: <a href="http://github.com/OpenSmalltalk/vm">http://github.com/OpenSmalltalk/vm</a></div><div>  HEAD branch: Cog</div><div>  Remote branches:</div><div>    Cog                    tracked</div><div>    master                 tracked</div><div>    oldTrunk               tracked</div><div>    platform/Cross/plugins tracked</div><div>    platform/win32/plugins tracked</div><div>  Local branch configured for &#39;git pull&#39;:</div><div>    Cog merges with remote Cog</div><div>  Local ref configured for &#39;git push&#39;:</div><div>    Cog pushes to Cog (up to date)</div></div><div><br></div><div>to</div><div><br></div><div>Fetch URL: <a href="http://github.com/OpenSmalltalk/vm">http://github.com/OpenSmalltalk/vm</a><br></div><div><br></div><div>and thence to</div><div><br></div><div><a href="http://github.com/OpenSmalltalk/vm">http://github.com/OpenSmalltalk/vm</a><br></div><div><br></div><div>would best be done in Perl.  So anyone who&#39;s motivated, please fix my poor fix.  I&#39;m not a perl whiz.</div><div><br></div><div>And I want to put it on the longer term list to replace these perl scripts with squeak or pharo scripts ;-)</div><div><br></div><div class="gmail_extra"><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><span style="font-size:small;border-collapse:separate"><div>_,,,^..^,,,_<br></div><div>best, Eliot</div></span></div></div></div>
</div></div></div>