Re: git and bzr

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linus Torvalds <torvalds@...>
Cc: Marko Macek <marko.macek@...>, <git@...>, <bazaar-ng@...>
Date: Wednesday, November 29, 2006 - 8:05 pm

On Wed, 29 Nov 2006 12:45:18 -0800 (PST), Linus Torvalds wrote:

Yes, this is goog.


To start with, that message confuses a lot of new users. "What do you
mean there's nothing to commit? I just made changes. And I know you
noticed them because you just mentioned the names of the files with
the changes to me!".

So at the very least, there's some missing guidance as to how to get
from the "nothing to commit" stage to actually commit the files the
user was trying to commit when they typed "git commit" in the first
place.


Yes, I submitted a patch for this. I don't think Junio picked it up
because it got him thinking about all the other situations where "git
status" doesn't give as much guidance as it should

Even with that, the user has to go through the process of:

	git commit
	"hmm... why didn't that work"
	read message
	git commit -a

That's not a _huge_ problem, but it is a little road-bump that a lot of
people meet on their first attempt at git. In the thread on the fedora
mailing list that prompted my first "user-interface warts" and the
patch I mentioned above, the process was worse:

	git commit
	"hmm... why didn't that work"
	read message
	git update-index
	git commit
	"crap... it still didn't work even when I did what it told me to do"

Here's the original version of that report:

https://www.redhat.com/archives/fedora-maintainers/2006-November/msg00141.html


In none of these recent threads have I been arguing disadvantages of
the index. I'm really just trying to remove one small hurdle that
does trip up new users, (see above). I'm not trying to introduce any
large conceptual change into how git works, nor even what experienced
users do.


Let's help people do exactly that by making the behavior of "git
commit -a" be the default for "git commit".

-Carl
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git and bzr, Jakub Narebski, (Tue Nov 28, 2:06 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 4:37 pm)
Re: git and bzr, Martin Langhoff, (Tue Nov 28, 5:40 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 5:26 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 5:49 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 6:00 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 6:25 pm)
Re: git and bzr, Johannes Schindelin, (Wed Nov 29, 6:52 am)
Re: git and bzr, Linus Torvalds, (Wed Nov 29, 1:29 pm)
Re: git and bzr, Marko Macek, (Wed Nov 29, 2:54 pm)
Re: git and bzr, Andreas Ericsson, (Thu Nov 30, 8:25 am)
Re: git and bzr, Theodore Tso, (Thu Nov 30, 4:01 pm)
Re: git and bzr, Linus Torvalds, (Wed Nov 29, 4:45 pm)
Re: git and bzr, Carl Worth, (Wed Nov 29, 8:05 pm)
Re: git and bzr, Raimund Bauer, (Thu Nov 30, 2:59 am)
Re: git and bzr, Andreas Ericsson, (Thu Nov 30, 8:45 am)
Re: git and bzr, Johannes Schindelin, (Thu Nov 30, 6:19 am)
Re: git and bzr, Nguyen Thai Ngoc Duy, (Thu Nov 30, 7:25 am)
Re: git and bzr, Johannes Schindelin, (Thu Nov 30, 8:23 am)
Re: git and bzr, Nguyen Thai Ngoc Duy, (Thu Nov 30, 5:01 am)
Re: git and bzr, Alan Chandler, (Thu Nov 30, 5:30 am)
Re: git and bzr, Steven Grimm, (Thu Nov 30, 5:39 am)
Re: git and bzr, Alan Chandler, (Thu Nov 30, 4:31 am)
Re: git and bzr, Carl Worth, (Thu Nov 30, 3:17 am)
Re: git and bzr, Carl Worth, (Wed Nov 29, 8:08 pm)
Re: git and bzr, Johannes Schindelin, (Wed Nov 29, 4:07 pm)
Re: git and bzr, Jakub Narebski, (Wed Nov 29, 4:49 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 6:46 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 6:41 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 6:48 pm)
Re: git and bzr, Johannes Schindelin, (Wed Nov 29, 6:49 am)
Re: git and bzr, Jon Loeliger, (Wed Nov 29, 4:37 pm)
Re: git and bzr, Jakub Narebski, (Wed Nov 29, 7:01 am)
Re: git and bzr, Shawn Pearce, (Tue Nov 28, 5:53 pm)
Re: git and bzr, Linus Torvalds, (Tue Nov 28, 6:13 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 3:11 pm)
Re: git and bzr, Andy Parkins, (Tue Nov 28, 3:40 pm)
Re: git and bzr, Nicholas Allen, (Tue Nov 28, 2:58 pm)