<br><br><div class="gmail_quote">On Tue, Apr 12, 2011 at 5:47 PM, David T. Lewis <span dir="ltr"><<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>></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>
><br>
> On Tue, Apr 12, 2011 at 1:58 PM, David T. Lewis <<a href="mailto:lewis@mail.msen.com">lewis@mail.msen.com</a>> wrote:<br>
> ><br>
</div><div><div></div><div class="h5">> > For the platforms sources on the git mirror with CMMakerVMMaker<br>
> > build, some mechanism would be needed to identify version level.<br>
> > Ian's build procedure on unix with Subversion works well for<br>
> > this, but I don't know how to do the equivalent on the git<br>
> > mirror. But I'm not really familiar with git, so hopefully<br>
> > someone can suggest something here.<br>
> ><br>
> ><br>
> For SVN you have the versions. Let say 2023. In Git, each commit has a<br>
> commit hash, which looks something like:<br>
> f3fe94c828f66cd0e7c37cfa3434e384ff65915e<br>
> You can look at them throught gitorious or by doing "git log". Example:<br>
><br>
> ;-) /usr/local/git/bin/git log<br>
> commit f3fe94c828f66cd0e7c37cfa3434e384ff65915e<br>
> Merge: 1af7478 f123973<br>
> Author: Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>><br>
> Date: Mon Apr 4 08:46:21 2011 -0300<br>
><br>
> Merge branch 'master' of gitorious.org:cogvm/blessed into integration<br>
><br>
> commit f1239738a1f14f6f067465e71dc24fd84f5a041e<br>
> Author: Igor Stasenko <<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>><br>
> Date: Mon Apr 4 12:49:55 2011 +0200<br>
><br>
> Merge branch 'master' of gitorious.org:cogvm/blessed into svn-merge<br>
><br>
> Conflicts:<br>
> image/VMMaker-Squeak4.1.changes<br>
> platforms/iOS/vm/iPhone/iPhone.image<br>
> platforms/unix/vm/sqUnixMain.c<br>
> platforms/win32/vm/sqWin32Window.c<br>
> src/plugins/ADPCMCodecPlugin/ADPCMCodecPlugin.c<br>
> src/plugins/HostWindowPlugin/HostWindowPlugin.c<br>
> src/plugins/SoundGenerationPlugin/SoundGenerationPlugin.c<br>
> src/plugins/SoundPlugin/SoundPlugin.c<br>
> src/plugins/SqueakFFIPrims/SqueakFFIPrims.c<br>
> src/vm/cointerp.c<br>
> src/vm/cointerp.h<br>
> src/vm/gcc3x-cointerp.c<br>
><br>
> commit 1af7478875b2d534c3b6cdc89d8244ff3ea4ec65<br>
> Author: Esteban Lorenzano <<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>><br>
> Date: Sun Apr 3 09:09:20 2011 -0300<br>
><br>
> added LocalePlugin<br>
><br>
><br>
><br>
><br>
> However, only the 4 first characters are usually enough to specify a<br>
> version. So for example in Git you can do:<br>
><br>
> git checkout 1af7478875b2d534c3b6cdc89d8244ff3ea4ec65<br>
><br>
> or<br>
><br>
> git checkout 1af7<br>
><br>
> So...we can have the same as the SVN if we want.<br>
><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'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>