by 0x0 · 12y ago · 0 comments
Interactive mode: "git add -p" ?
Reverting commits: "git revert commit-id" ?
Code sharing: Pretty sure git supports cloning from straight http:// (or even a file:/// if you have a smb share or whatever) ?
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.
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.