You are not logged in.

#1 2007-09-26 21:06:22

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Preference for git over other distributed version control?

Out of curiosity, and not to start a flamewar or anything...but, why does it seem like most Archers have an preference for git over other distributed version control software choices?  I tend to like Mercurial, as it was an easy transition from using SVN for so long, but reading the mailing lists, it looks like most of the Arch project development is moving toward git.  Is there something I don't know?

Offline

#2 2007-09-26 21:30:26

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Preference for git over other distributed version control?

My guess is that its because Xentac has tried all version control systems known to man and has settled on GIT... he's a hell of a salesman when he starts pressuring people to use a version control system. :-)

I don't have direct experience with git (I haven't had the chance to create a new project using it), but from what I've read about it, it is very simple, elegant, and well designed -- things that clearly appeal to Archers. Its also really nice for multiple developers in distributed development; this is a place where I personally find subversion to be weak.

Dusty

Offline

#3 2007-09-26 21:30:48

muczyjoe
Member
From: Szeged (Hungary)
Registered: 2007-05-16
Posts: 45
Website

Re: Preference for git over other distributed version control?

On sunday, we had software freedome day, and in Hungary, we had a presentation about git (frugalware dev team changed to git).
They said, that it's much more faster than e.g. cvs (i mean it's faster to do changes, send patches). It also has some debug feature, like comparing different versions, so if you had some problem in a.b but not in a.c, than it will search for possible problems in source code. And git has some other nice features like this, however the main reason for fw team was speed.

Offline

#4 2007-09-26 21:40:04

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: Preference for git over other distributed version control?

elegantly designed yes, but it's not simple by any means. it's still taking me a while to get used to it.

Offline

#5 2007-09-26 21:52:09

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Preference for git over other distributed version control?

Blame toofishes and phrakture in my case. wink
I moved from mercurial, and after a bit of a painful initial learning curve, I really do enjoy using git quite a bit.
tongue


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2007-09-26 21:59:24

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Preference for git over other distributed version control?

cactus wrote:

Blame toofishes and phrakture in my case. wink

Minions of Xentac, of course. We are all minions of Xentac. wink

Dusty

Offline

#7 2007-09-26 23:12:02

elasticdog
Member
From: Washington, USA
Registered: 2005-05-02
Posts: 995
Website

Re: Preference for git over other distributed version control?

cactus wrote:

Blame toofishes and phrakture in my case. wink
I moved from mercurial, and after a bit of a painful initial learning curve, I really do enjoy using git quite a bit.
tongue

Would you say you like it more than Mercurial, or just now that you've been forced in to using it, it's not bad after the learning curve?  Which one do you use for personal projects?

Offline

#8 2007-09-26 23:46:38

codemac
Member
From: Cliche Tech Place
Registered: 2005-05-13
Posts: 794
Website

Re: Preference for git over other distributed version control?

After flipping between both... changing my opinion on which is better regularly, I would say I still like mercurial better.  I switched my config directory over to git, and nothing has improved, other than an elitist and hard to understand community.  Any "features" that git tends to say they have above mercurial, I've found are usually false.

Not to mention mercurial's ui >>>>>>>>> git's ui.  Which is huge, don't act like it's not.

And has git fixed it's symlink handling?  Because I know mercurial did wink

Last edited by codemac (2007-09-26 23:48:08)

Offline

#9 2007-09-27 00:08:47

nesl247
Member
Registered: 2006-05-30
Posts: 191
Website

Re: Preference for git over other distributed version control?

Just curious, but was bzr ever tried, and what reasons were given for not using it if it was tried. If I recall, it's a lot more friendly, and still speedy.

Offline

#10 2007-09-27 01:23:46

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Preference for git over other distributed version control?

elasticdog wrote:

Would you say you like it more than Mercurial, or just now that you've been forced in to using it, it's not bad after the learning curve?  Which one do you use for personal projects?

I do prefer git, after using mercurial for a quite a while.

- Git is fast (very fast).
- The format patch and other random porcelain are great.
- The syntax and UI is a bit unruly, but once you get the hang of it, it's not a big deal.
- Once very awesome thing for me is the ability to do localized in-repo branching, just checkout a local branch, and your tree changes to that branch. Do stuff, commit, whatever. Then checkout your other branch, and bam. You can diff and merge between local branches, create new ones, throw ones away, etc.. all within the same tree (no need for external clones).
- The quick and easy rebase functionality is great too.

I guess I would say git is powerful, but certainly arcane.

I think mercurial got named branches a little while ago, so I haven't used them. I *think* they are similar to git branches, but I don't know for sure. The little I have read about them make them seem a bit funky.

I prefer git, but mercurial is a fine choice too.
I would say that pretty much everything out there besides these two sucks.

....and codemac is crazy by the way. map-my-scm-zealotry.
wink


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#11 2007-09-28 16:58:39

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Preference for git over other distributed version control?

ZOMGS git + vim + screen + foo + bar > *

Seriously. It's version control. It's just a storage mechanism for what you're actually doing. This is like debating what plastic container is best for your food. Glad is TOTALLY better than Tupperware for storing brats, let me tell you!

I like git because, well, as cactus put it, the "random porcelain" is great. It's fast, and does a lot. Sure there's a learning curve, but there's a learning curve for CVS too.

Getting hung up on this is silly. It's like caring about camelCase vs lowercase_and_underscores. It just doesn't matter. You need to roll with it. If you're on a project using git, use git. If the project is using darcs, use darcs. If they like PascalCasedVariableNames then use them.

Offline

#12 2007-09-28 17:18:40

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Preference for git over other distributed version control?

phrakture wrote:

Getting hung up on this is silly.

I agree but...

If you're on a project using git, use git. If the project is using darcs, use darcs. If they like PascalCasedVariableNames then use them.

... what if you are setting up a new project of your own and get to choose which system you use?

Dusty

PS:

It's like caring about camelCase vs lowercase_and_underscores. It just doesn't matter.

But when it comes down to tabs vs spaces, it DOES MATTER! :-D

Offline

#13 2007-10-03 19:46:27

High|ander
Member
From: Skövde, Sweden
Registered: 2005-10-28
Posts: 188
Website

Re: Preference for git over other distributed version control?

I have used CVS and SVN for a long time.

And finally i realized that CVS was not good enough for me, so I tried first GIT, but i didn't like it because of the gui and some misc stuff. But when I tried Mercurial, it was love at first sight. Great GUI, fast as hell, simple config and so on...

So, mercurial for me smile


When death smiles at you, all you can do is smile back!
Blog

Offline

#14 2007-10-03 21:54:52

eyolf
Member
From: Copenhagen
Registered: 2005-11-29
Posts: 339
Website

Re: Preference for git over other distributed version control?

You should check out Linus Torvalds' presentation of it at the Googleplex something. It's on youtube (search for "linus git"), and it's hilarious. It's an hour long, but it's worth every second :-)

Offline

Board footer

Powered by FluxBB