<div dir="ltr">Hi Tobias,<div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 21, 2016 at 2:54 PM, Tobias Pape <span dir="ltr">&lt;<a href="mailto:Das.Linux@gmx.de" target="_blank">Das.Linux@gmx.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
On 21.06.2016, at 23:37, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Hi Tobias,<br>
&gt;<br>
&gt; On Tue, Jun 21, 2016 at 1:37 PM, Tobias Pape &lt;<a href="mailto:Das.Linux@gmx.de">Das.Linux@gmx.de</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Eliot,<br>
&gt;<br>
&gt; On 21.06.2016, at 22:08, Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi All,<br>
&gt; &gt;<br>
&gt; &gt;     recent changes, I *think* to updateSCCSVersions, have broken platforms/Cross/vm/sqSCCSVersion.h:<br>
&gt; &gt;<br>
&gt; &gt; static char SvnRawRepositoryURL[] = &quot;$URL: <a href="http://github.com/OpenSmalltalk/vm" rel="noreferrer" target="_blank">http://github.com/OpenSmalltalk/vm</a><br>
&gt; &gt;     SetWindowLongPtr_64bit_compatibility new (next fetch will store in remotes/origin)<br>
&gt; &gt;     tim/deployment-fixes                 new (next fetch will store in remotes/origin) $&quot;;<br>
&gt;<br>
&gt; This is due to the line you added in .git_filters/RevDateURL.smudge:<br>
&gt;<br>
&gt;<br>
&gt;  if (!$url) { $url=`git remote show origin | grep -i fetch | sed &#39;s/^.*URL: //&#39; 2&gt;/dev/null` }<br>
&gt;<br>
&gt; Problem being, the two lines match &#39;fetch&#39; (next _fetch_ will store in ...), so you get more than the actual URL.<br>
&gt;<br>
&gt; However, this has been fixed already, the current version from 24198c6<br>
&gt; (see <a href="https://github.com/OpenSmalltalk/vm/commits/Cog/.git_filters/RevDateURL.smudge" rel="noreferrer" target="_blank">https://github.com/OpenSmalltalk/vm/commits/Cog/.git_filters/RevDateURL.smudge</a>) has changed<br>
&gt; and does not suffer from the grep. Relevant lines:<br>
&gt;<br>
&gt;<br>
&gt; if ((defined $ENV{&#39;TRAVIS&#39;}) || (defined $ENV{&#39;APPVEYOR&#39;})) {<br>
&gt;     $url=`git config --get remote.origin.url`;<br>
&gt; } else {<br>
&gt;     $url=`whoami` . &#39;@&#39; . `hostname` . &#39;:&#39; . `PWD=\$(pwd) echo \${PWD##\$HOME/}`;<br>
&gt; }<br>
&gt;<br>
&gt; Thanks.  So it was me :-(.  Good to know.<br>
&gt;<br>
&gt; Is your repo up to date?<br>
&gt;<br>
&gt; How do I know?  This &quot;fetch and then diff&quot; method is IMO broken.  I simply want to know whether there are incoming commits /before/ I do a fetch.<br>
<br>
</span>Fetch means &#39;get what is on the server to me but no more&#39;<br>
<br>
I have a personal alias to see incoming changes:<br>
<br>
        git config --global alias.incoming &#39;!git remote update -p; git log ..@{u}&#39;<br>
<br>
I can then do `git incoming` and it fetches the changes but then only shows<br>
the changes. So, after a fetch you can do<br>
<br>
        git log ..@{u}<br>
<br>
which means &#39;please show me all changes from here to what upstream has&#39;<br></blockquote><div><br></div><div>Ah, this looks like it could be what I want.  So where should one put the git config command?  Run it once in one&#39;s .profile?  Add it to some configuration file?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">HTH<br>
best<br>
<span class="HOEnZb"><font color="#888888">        -Tobias<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
&gt; Best regards<br>
&gt;         -Tobias<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; First, multi-liner string constants must be terminated with a backslash to compile.  So at the very least we&#39;d need<br>
&gt; &gt;<br>
&gt; &gt; static char SvnRawRepositoryURL[] = &quot;$URL: <a href="http://github.com/OpenSmalltalk/vm\" rel="noreferrer" target="_blank">http://github.com/OpenSmalltalk/vm\</a><br>
&gt; &gt;     SetWindowLongPtr_64bit_compatibility new (next fetch will store in remotes/origin)\<br>
&gt; &gt;     tim/deployment-fixes                 new (next fetch will store in remotes/origin) $&quot;;<br>
&gt; &gt;<br>
&gt; &gt; But second, multi-line output doesn&#39;t make sense here.  We need something that fits on a single line.  Who is going to fix this?  I have a production build which is broken because of this.<br>
&gt; &gt;<br>
&gt; &gt; _,,,^..^,,,_<br>
&gt; &gt; best, Eliot<br>
<br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><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>