Re: git and bzr
- From
Steven Grimm <koreth@midwinter.com>
- Date
- Nov 30, 2006, 09:39 UTC
- Message-ID
- <456EA6EF.4000104@midwinter.com>
- In-Reply-To
- <200611300930.33537.alan@chandlerfamily.org.uk>
Alan Chandler wrote:
Show 10 quoted lines
> 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.