Re: git and bzr

From: Steven Grimm <koreth@midwinter.com>
Date: 2006-11-30 20:39:59
Alan Chandler wrote:
> No you won't.   
>
> If you don't use update-index, then index will match HEAD and you will commit 
> changes in the working tree.  That is the way for newbies
>
> As soon as you do the first update-index the index will no longer match HEAD, 
> so commit will do the same as it does now.
>
> And if you are not sure which you have done then presumably you do what you do 
> now, or git commit -a or git commit -i as you need.

Plus, one assumes, the git-generated comments in the commit message will 
tell you what kind of commit it has decided to do.

I like this suggestion a lot. Thinking back over my git usage recently, 
which has included both styles of commits (though mostly -a ones), I 
think this would have done the right thing by default in every case.

-Steve
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Nov 30 20:40:02 2006

This archive was generated by hypermail 2.1.8 : 2006-11-30 20:44:11 EST