News for hackers. Stuff that matters.
Re:Why Git is Better Than X by maw on Monday December 01, 2008 @08:07PM (#382438)
'git diff' (also hopefully obvious)

Except it's not, since it'll output different things depending on whether you have staged anything or not.

This behavior is sometimes useful, but hardly obvious. Many aspects of git are like this, and it's frustrating, speaking as someone who slowly came around to git and now likes it quite a bit and would recommend it, to see its advocates forget or try to talk around just how difficult it is to learn. (1.5 and 1.6 may have improvements, but the claim that git's now roughly as easy to learn as hg or bzr, especially without understanding its internals, is absurd.)

Re:Why Git is Better Than X by gcv on Monday December 01, 2008 @08:50PM (#382474)
This is precisely why I suggested doing a commit after every sequence of adds and removes.
Re:Why Git is Better Than X by utx00 on Monday December 01, 2008 @09:00PM (#382486)
but that is (one of) the point of the index. that you can build of to a clean changeset to commit. hg mq is easier i think.