Re: RFE: git rm

From: Daniel Barkalow <barkalow@iabervon.org>
Date: 2005-10-25 08:22:33
On Mon, 24 Oct 2005, Junio C Hamano wrote:

> Daniel Barkalow <barkalow@iabervon.org> writes:
> 
> > I often do "git add something" when I happen to think of it, not 
> > necessarily right before committing, which means that I have these files 
> > changed in my index while working. I may quit this, however, now that git 
> > status lists the ones I missed.
> 
> Oh, I do 'git add' myself; otherwise I'd surely forget by the
> time I commit.
> 
> And I did not mean to tell you to quit doing it.  If any of you
> took what I said as "Linus does not do it, I do not do it, so
> you should not be doing update-index in the middle", then that
> was not my intention and I apologize for causing confusion.

Actually, I'm thinking of quitting that because I'm actually more likely 
to realize I need to add something when I see it in the untracked list 
than any other time. Now that the untracked list is right there, I 
probably won't bother to think about it until that point. That is, the new 
feature makes my old habit unnecessary. (I obviously don't care what other 
people do; I'm still using multiple working trees with the same 
repository, which AFAIK nobody else has done for months.)

For that matter, it helps, if I find I've done two things that I want to 
commit separately in the same working tree if the first commit doesn't 
have to include the addition of all the new files.

> > Incidentally, the new git status entry for --others really ought to say 
> > something different from "Ignored files", like "Exist but not tracked", 
> > since it doesn't include the contents of .gitignore, which you'd expect to 
> > be "Ignored". (And, of course, any files it lists are hardly being 
> > ignored.)
> 
> Good point.  Something like this?

Looks like what I was thinking, yes.

	-Daniel
*This .sig left intentionally blank*
-
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 Tue Oct 25 08:23:41 2005

This archive was generated by hypermail 2.1.8 : 2005-10-25 08:23:45 EST