From: Petr Baudis <pasky@ucw.cz>
To: Dan Weber <dan@mirrorlynx.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Git cancel work
Date: Sun, 24 Apr 2005 14:49:30 +0200 [thread overview]
Message-ID: <20050424124930.GE1507@pasky.ji.cz> (raw)
In-Reply-To: <Pine.LNX.4.62.0504240033230.1980@mirrorlynx.com>
Dear diary, on Sun, Apr 24, 2005 at 06:34:44AM CEST, I got a letter
where Dan Weber <dan@mirrorlynx.com> told me that...
> I noticed that git cancel was always doing a full checkout. So I figured,
> "what about just checking out the modified files?". Attached is a patch
> to do so.
But that is what checkout-cache -f -a does:
if (!stat(path, &st)) {
unsigned changed = cache_match_stat(ce, &st);
if (!changed)
return 0;
in checkout_entry().
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
C++: an octopus made by nailing extra legs onto a dog. -- Steve Taylor
next prev parent reply other threads:[~2005-04-24 12:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-24 4:34 Git cancel work Dan Weber
2005-04-24 12:49 ` Petr Baudis [this message]
2005-04-24 12:59 ` Dan Weber
2005-04-24 13:00 ` Petr Baudis
2005-04-24 13:04 ` Dan Weber
2005-04-24 13:11 ` Dan Holmsand
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=20050424124930.GE1507@pasky.ji.cz \
--to=pasky@ucw.cz \
--cc=dan@mirrorlynx.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