From: Petr Baudis <pasky@suse.cz>
To: eschvoca <eschvoca@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How do I clear the directory cache
Date: Thu, 20 Oct 2005 10:59:31 +0200 [thread overview]
Message-ID: <20051020085931.GW30889@pasky.or.cz> (raw)
In-Reply-To: <2b05065b0510170720n5333f03l1941e84c1288fc5d@mail.gmail.com>
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.
next prev parent reply other threads:[~2005-10-20 8:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 14:20 How do I clear the directory cache eschvoca
2005-10-20 8:59 ` Petr Baudis [this message]
2005-10-21 3:23 ` eschvoca
2005-10-21 4:09 ` Junio C Hamano
2005-10-21 20:16 ` eschvoca
2005-10-21 21:00 ` Linus Torvalds
2005-10-21 10:52 ` Petr Baudis
2005-10-21 20:40 ` eschvoca
2005-10-21 21:43 ` Petr Baudis
2005-10-22 19:20 ` eschvoca
2005-10-22 21:09 ` Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051020085931.GW30889@pasky.or.cz \
--to=pasky@suse.cz \
--cc=eschvoca@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).