threads / discuss / 13650

Which msysGit version corresponds to which official Git version?

Subject: Which msysGit version corresponds to which official Git version?

## tl;dr

8 messages between May 24, 2008 and May 26, 2008.

replies: 7people: 6as markdown or json

Dirk Süsserott· May 24, 2008, 12:45 UTC · lore

I'm using msysGit. Upon shell startup it says "Welcome to Git (version 1.5.5-preview20080413)". That's the latest msysGit version.

git --version says "git version 1.5.5.1015.g9d258"

I'd like to know which official Git version (as cloned from git://git.kernel.org/pub/scm/git/git.git) corresponds to my msysGit version.

git checkout 9d258 didn't work.

Any hints? Is there a Website or another mailing list for msysGit?

    Dirk
Steffen Prohaska· May 24, 2008, 15:26 UTC · re: Dirk Süsserott · lore

Re: Which msysGit version corresponds to which official Git version?

On May 24, 2008, at 2:45 PM, Dirk Süsserott wrote:
Show 9 quoted lines
> I'm using msysGit. Upon shell startup it says
> "Welcome to Git (version 1.5.5-preview20080413)".
> That's the latest msysGit version.
>
> git --version says "git version 1.5.5.1015.g9d258"
>
> I'd like to know which official Git version (as cloned
> from git://git.kernel.org/pub/scm/git/git.git) corresponds
> to my msysGit version.

It's not in official git.git. msysgit is based on official git 1.5.5, i.e. tag v1.5.5 (9d8318051). msysGit adds, however, a lot of commits that are (not yet) in official git.git.

> git checkout 9d258 didn't work.
>
> Any hints? Is there a Website or another mailing
> list for msysGit?
http://code.google.com/p/msysgit/
	Steffen
Dirk Süsserott· May 25, 2008, 15:19 UTC · re: Steffen Prohaska · lore

Re: Which msysGit version corresponds to which official Git version?

Steffen Prohaska schrieb:
Show 19 quoted lines
>
> On May 24, 2008, at 2:45 PM, Dirk Süsserott wrote:
> [...]
>> I'd like to know which official Git version (as cloned
>> from git://git.kernel.org/pub/scm/git/git.git) corresponds
>> to my msysGit version.
>
> It's not in official git.git.  msysgit is based on official
> git 1.5.5, i.e. tag v1.5.5 (9d8318051).  msysGit adds, however,
> a lot of commits that are (not yet) in official git.git.
>
>> git checkout 9d258 didn't work.
>>
>> Any hints? Is there a Website or another mailing
>> list for msysGit?
>
> http://code.google.com/p/msysgit/
>
>     Steffen
Thanks a lot, that's exactly what I was looking for. :-)

BTW, I couldn't checkout the commit '9d8318051' you mentioned from git.git. No such something, it said. When I checked out 'v1.5.5' it said my HEAD is now '1d2375d'. Probably I messed up my clone, but I thought the commit id was unique for all time.

Whoa, stop. I re-cloned git.git to a different directory and succesfully checked out 9d8318051. Look:

$ git clone git://git.kernel.org/pub/scm/git/git.git
  > Initialized empty Git repository in [...]/test/git/.git/
  > remote: Counting objects: 72806, done.?[K
  > remote: Compressing objects: 100% (22377/22377), done.?[K
  > remote: Total 72806 (delta 52252), reused 68863 (delta 49051)?[K
  > Receiving objects: 100% (72806/72806), 15.67 MiB | 202 KiB/s, done.
  > Resolving deltas: 100% (52252/52252), done.
$ cd git
$ git checkout 9d8318051
  > Note: moving to "9d8318051" which isn't a local branch
  > If you want to create a new branch from this checkout, you may do so
  > (now or later) by using -b with the checkout command again. Example:
  >   git checkout -b <new_branch_name>
  > HEAD is now at 1d2375d... GIT 1.5.5
I'd expected that "HEAD is now at 9d8318051...". Wrong?
When I checkout "1d2375d" it says the very same:
  > HEAD is now at 1d2375d... GIT 1.5.5

So what's the difference then between 9d8318051 and 1d2375d? gitk doesn't know about 9d8318051 at all. Seems that there are two ways to get to v1.5.5: via 9d... and via 1d.... Is that right or did I misunderstand sth. here?

    Dirk
Jan Krueger· May 25, 2008, 15:38 UTC · re: Dirk Süsserott · lore

Re: Which msysGit version corresponds to which official Git version?

Hi,
> I'd expected that "HEAD is now at 9d8318051...". Wrong?
> When I checkout "1d2375d" it says the very same:
>   > HEAD is now at 1d2375d... GIT 1.5.5

9d831 is the v1.5.5 tag object; 1d237 is the commit it points to. When you pass a tag reference to checkout, it gets dereferenced to the corresponding commit.

-- 
Best regards
Jan Krüger <jk@jk.gs>
Dirk Süsserott· May 25, 2008, 15:59 UTC · re: Jan Krueger · lore

Re: Which msysGit version corresponds to which official Git version?

Jan Krueger schrieb:
Show 13 quoted lines
> Hi,
>
>   
>> I'd expected that "HEAD is now at 9d8318051...". Wrong?
>> When I checkout "1d2375d" it says the very same:
>>   > HEAD is now at 1d2375d... GIT 1.5.5
>>     
>
> 9d831 is the v1.5.5 tag object; 1d237 is the commit it points to. When
> you pass a tag reference to checkout, it gets dereferenced to the
> corresponding commit.
>
>   

Ahh, that explains it. :-) Thanks! I sometimes mix up the different IDs Git emitts.

Todd Zullinger· May 25, 2008, 15:46 UTC · re: Dirk Süsserott · lore

Re: Which msysGit version corresponds to which official Git version?

Dirk Süsserott wrote:
> So what's the difference then between 9d8318051 and 1d2375d?
> gitk doesn't know about 9d8318051 at all. Seems that there are
> two ways to get to v1.5.5: via 9d... and via 1d.... Is that right
> or did I misunderstand sth. here?
9d8318051 is a tag object that creates the v1.5.5 tag:

$ git cat-file -p 9d8318051 object 1d2375ddfee18bd3effd2c1f98527cc2f8b1df0a type commit tag v1.5.5 tagger Junio C Hamano <gitster@pobox.com> Mon Apr 7 21:57:56 2008 -0700

GIT 1.5.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBH+vtXwMbZpPMRm5oRAlfBAJwPP5W9HvoAHzmD1AoWpRtcyQ/uoACfVkCc M7H1LhvSXz+h2+08bieh3uU= =uTP0 -----END PGP SIGNATURE-----

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Until you have the courage to lose sight of the shore, you will not
know the terror of being forever lost at sea.
    -- Demotivators (www.despair.com)
Johannes Schindelin· May 26, 2008, 10:48 UTC · re: Dirk Süsserott · lore

Re: Which msysGit version corresponds to which official Git version?

Hi,
On Sun, 25 May 2008, Dirk Süsserott wrote:
> I re-cloned git.git to a different directory

Why did you not just update your tracking (AKA remote) branches with "git fetch"?

Ciao, Dscho

Dirk Süsserott· May 26, 2008, 19:10 UTC · re: Johannes Schindelin · lore

Re: Which msysGit version corresponds to which official Git version?

Johannes Schindelin schrieb:
Show 12 quoted lines
> Hi,
>
> On Sun, 25 May 2008, Dirk Süsserott wrote:
>
>   
>> I re-cloned git.git to a different directory
>>     
>
> Why did you not just update your tracking (AKA remote) branches with "git 
> fetch"?
>
>   

I just wanted to make sure... I'm still practicing, you know. I sometimes use the git.git repo to try out some of the commands I hear about here, because it has a reasonable number of branches and tags. Thought I screwed it up. ;-)

On the other hand, I don't know how I lost tha sha1 9d8318051 (which is the tag's ID, as I've learned). Possibly I didn't actually lose it but wasn't aware of the right commands. git fetch, for an example.

← back to recent threads