From: Petr Baudis Date: Sun, 24 Apr 2005 12:49:30 GMT Subject: Re: Git cancel work Message-ID: <20050424124930.GE1507@pasky.ji.cz> In-Reply-To: Dear diary, on Sun, Apr 24, 2005 at 06:34:44AM CEST, I got a letter where Dan Weber 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