[haiku-development] Re: VOTE: Git or Mercurial (hg) as Haiku's new source control tool

  • From: Oliver Tappe <zooey@xxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 14 May 2011 13:52:43 +0200

On 2011-05-14 at 13:35:30 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> Oliver Tappe<zooey@xxxxxxxxxxxxxxx> wrote:
> > With the implementation we have for git, you can use the revision 
> > descriptor
> > directly with the tool, i.e. 'git log haiku/master-4-g1234567' will give 
> > you
> > a log from that revision.
> 
> Am I right that the -4- is the distance, ie. the number of commits? 

Yes.

> What is the g123467 then? The hash? 

The short-hash (or hash abbreviation).

> And if so, can it be left out on the command line, too? 

Nope, git needs it in order to determine the exact changeset you mean (since 
in sub-branches there can be two changesets with the same distance).

> Because if it has to be part of the arguments, you could just 
> use the hash instead, too, right?

Sure, it's just that the descriptor has more meaning for humans. You can 
always use the hash for anything.

> In any case, thanks for putting so much effort into this :-)

Let's just hope we'll reach a decision, one fine day ;-)

cheers,
        Oliver

Other related posts: