Re: How do I clear the directory cache

From: Petr Baudis <pasky@suse.cz>
Date: 2005-10-20 18:59:31
  Hello,

Dear diary, on Mon, Oct 17, 2005 at 04:20:42PM CEST, I got a letter
where eschvoca <eschvoca@gmail.com> told me that...
> If I do a:
> 
> cg-commit
> modifiy some files
> cg-rm <modified files>
> cg-add <a new file>
> cg-rm <a unmodified file>
> 
> Then how do I get back and undo all of the cg-adds and cg-rms?  I want
> cg-status to show the the changes from my commit and my current
> working tree.

  why can't you just do the following?

	cg-add <an unmodified file>
	cg-rm <a new file>
	cg-add <modified files>

  Hmm. Would it be non-marginally useful to offer something like

	cg-reset --adds-removals

to just reset the index? (It's not --index because Cogito users aren't
supposed to have to know what an "index" is.)

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
-
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 Oct 20 19:00:50 2005

This archive was generated by hypermail 2.1.8 : 2005-10-20 19:00:53 EST