Re: [PATCH 19/19] reset [--mixed]: use diff-based reset whether or not pathspec was given
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 9, 2013, 20:27 UTC
- Message-ID
- <7vvcb63xvw.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1357719376-16406-20-git-send-email-martinvonz@gmail.com>
Martin von Zweigbergk <martinvonz@gmail.com> writes:
Show 9 quoted lines
> 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.