From: Luben Tuikov <ltuikov@yahoo.com>
To: Junio C Hamano <junkio@cox.net>
Cc: git@vger.kernel.org
Subject: Re: "p4 revert -a" equivalent in git?
Date: Fri, 23 Dec 2005 16:36:15 -0800 (PST) [thread overview]
Message-ID: <20051224003615.47349.qmail@web31807.mail.mud.yahoo.com> (raw)
In-Reply-To: <7vd5jn4a36.fsf@assigned-by-dhcp.cox.net>
--- Junio C Hamano <junkio@cox.net> wrote:
> That's what "git-update-index --refresh" does, unless I am
> misreading what you say you want.
>
> $ git checkout master
> $ touch *.c
> $ git diff-index HEAD ;# tons of changes
> $ git update-index --refresh
> $ git diff-index HEAD ;# no changes
Ok, thanks. I wasn't sure if I had to specify the file
names on the command line of "git-update-index --refresh".
It looks like I don't have to, so this is a perfect
equivalent.
Thanks,
Luben
prev parent reply other threads:[~2005-12-24 0:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-24 0:13 "p4 revert -a" equivalent in git? Luben Tuikov
2005-12-24 0:23 ` Junio C Hamano
2005-12-24 0:36 ` Luben Tuikov [this message]
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=20051224003615.47349.qmail@web31807.mail.mud.yahoo.com \
--to=ltuikov@yahoo.com \
--cc=git@vger.kernel.org \
--cc=junkio@cox.net \
/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