by StavrosK · 13y ago · 0 comments
I really love bzr's UI in this respect, and I understand Mercurial is similar too.
The staging area surely adds complexity, but if you do not like it then simply don't use git.
If I have ongoing work I want to remove, I just stash it, as you said. I don't need a staging area to stash things, and it's pretty rare that I'll have unrelated work anyway.
> The staging area surely adds complexity, but if you do not like it then simply don't use git.
Ah, the old "your arm hurts? Just cut it off!" solution. Yes, I will just not use git, I will just email my team diffs.
Specifying names at commit time is really horrible - it's more error prone and harder to get a diff of exactly what you are committing.
You can also commit part of files using the staging area by doing git add -p. My workflow is often git add -p; git diff --staged; git commit
I came to git already knowing what a dag was, and after having cobbled together my own patch management system to make up for deficiencies in svn, so I didn't have much difficulty intuiting almost the whole of git after very little time.
YMMV, of course.
Then again, I guess the GUI could just implement the staging area itself and pass line numbers to "git commit" :)