<br><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 5:47 PM, David T. Lewis <span dir="ltr">&lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
On Tue, Apr 12, 2011 at 05:32:17PM +0200, Mariano Martinez Peck wrote:<br>
&gt;<br>
&gt; On Tue, Apr 12, 2011 at 1:58 PM, David T. Lewis &lt;<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>&gt; wrote:<br>
&gt; &gt;<br>
</div><div><div></div><div class="h5">&gt; &gt; For the platforms sources on the git mirror with CMMakerVMMaker<br>
&gt; &gt; build, some mechanism would be needed to identify version level.<br>
&gt; &gt; Ian&#39;s build procedure on unix with Subversion works well for<br>
&gt; &gt; this, but I don&#39;t know how to do the equivalent on the git<br>
&gt; &gt; mirror. But I&#39;m not really familiar with git, so hopefully<br>
&gt; &gt; someone can suggest something here.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; For SVN you have the versions. Let say 2023. In Git, each commit has a<br>
&gt; commit hash, which looks something like:<br>
&gt; f3fe94c828f66cd0e7c37cfa3434e384ff65915e<br>
&gt; You can look at them throught gitorious or by doing &quot;git log&quot;. Example:<br>
&gt;<br>
&gt; ;-) /usr/local/git/bin/git log<br>
&gt; commit f3fe94c828f66cd0e7c37cfa3434e384ff65915e<br>
&gt; Merge: 1af7478 f123973<br>
&gt; Author: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;<br>
&gt; Date:   Mon Apr 4 08:46:21 2011 -0300<br>
&gt;<br>
&gt;     Merge branch &#39;master&#39; of gitorious.org:cogvm/blessed into integration<br>
&gt;<br>
&gt; commit f1239738a1f14f6f067465e71dc24fd84f5a041e<br>
&gt; Author: Igor Stasenko &lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;<br>
&gt; Date:   Mon Apr 4 12:49:55 2011 +0200<br>
&gt;<br>
&gt;     Merge branch &#39;master&#39; of gitorious.org:cogvm/blessed into svn-merge<br>
&gt;<br>
&gt;     Conflicts:<br>
&gt;         image/VMMaker-Squeak4.1.changes<br>
&gt;         platforms/iOS/vm/iPhone/iPhone.image<br>
&gt;         platforms/unix/vm/sqUnixMain.c<br>
&gt;         platforms/win32/vm/sqWin32Window.c<br>
&gt;         src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c<br>
&gt;         src/plugins/HostWindowPlugin/HostWindowPlugin.c<br>
&gt;         src/plugins/SoundGenerationPlugin/SoundGenerationPlugin.c<br>
&gt;         src/plugins/SoundPlugin/SoundPlugin.c<br>
&gt;         src/plugins/SqueakFFIPrims/SqueakFFIPrims.c<br>
&gt;         src/vm/cointerp.c<br>
&gt;         src/vm/cointerp.h<br>
&gt;         src/vm/gcc3x-cointerp.c<br>
&gt;<br>
&gt; commit 1af7478875b2d534c3b6cdc89d8244ff3ea4ec65<br>
&gt; Author: Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt;<br>
&gt; Date:   Sun Apr 3 09:09:20 2011 -0300<br>
&gt;<br>
&gt;     added LocalePlugin<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; However, only the 4 first characters are usually enough to specify a<br>
&gt; version. So for example in Git you can do:<br>
&gt;<br>
&gt; git checkout 1af7478875b2d534c3b6cdc89d8244ff3ea4ec65<br>
&gt;<br>
&gt; or<br>
&gt;<br>
&gt; git checkout 1af7<br>
&gt;<br>
&gt; So...we can have the same as the SVN if we want.<br>
&gt;<br>
<br>
</div></div>Great - thank you! I was hoping somebody would know how to do this.<br>
<br></blockquote><div><br><br>hehehehe I have to learn it this weekend for my blog post...I wanted the post instructions to be totally reproducible and I didn&#39;t know how to do this in Git...after googling for a long time, I understood that ;)<br>
<br></div></div><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>