From: Junio C Hamano Date: Wed, 09 Jan 2013 20:27:31 GMT Subject: Re: [PATCH 19/19] reset [--mixed]: use diff-based reset whether or not pathspec was given Message-ID: <7vvcb63xvw.fsf@alter.siamese.dyndns.org> In-Reply-To: <1357719376-16406-20-git-send-email-martinvonz@gmail.com> Martin von Zweigbergk writes: > Thanks to b65982b (Optimize "diff-index --cached" using cache-tree, > 2009-05-20), resetting with paths is much faster than resetting > without paths. Some timings for the linux-2.6 repo to illustrate this > (best of five, warm cache): > > reset reset . > real 0m0.219s 0m0.080s > user 0m0.140s 0m0.040s > sys 0m0.070s 0m0.030s Nice.