Hacker News new | ask | show | jobs
by mkaito 4564 days ago
Git supports cloning over http, ssh, local file path. You can also create patch sets with `git diff` and share them however you want, obviously including email.

You can also mess with what you merge and what not via `git rebase -i` and `git cherry-pick`.

I don't see anything where darcs would be superior to git. It's just a matter of taste. Nothing to see here.

1 comments

This scares me a bit because of what they're doing to essentially drop dependency information that's preserved in normal git commit order.

If you ignore commit order, individual lines have no way of really conveying what they've been tested with, nor what they will break if added or omitted, independent of commit time.

You get a lot of that stored automatically with git, by forcing people to define changes in terms of what was there before the change takes place.

You also have the ability to reposition this information with git rebase, and to safely walk it through change conflicts to make sure you affirm what is happening.

With this in mind, I think an algorithm like darcs' history looks like it would be much more suitable in text/block based editing, rather than programming. Something like tracking history in XML or following a Microsoft Word document.

Absolutely, even over-eager use of "git add -p" can easily create commit "snapshots" that won't actually compile.