Re: [PATCH 19/19] reset [--mixed]: use diff-based reset whether or not pathspec was given
From: Junio C Hamano <hidden> Date: 2016-06-15 22:55:42
Martin von Zweigbergk [off-list ref] 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