summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-08-05 04:16:02 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-08-07 01:58:53 -0700
commitb7e58b17b50bbbf00299fc89c480efd7cc92c1bd (patch)
tree7d1393116091e3a46c8c44efd02dda2244995841 /Documentation
parentFix "grep -w" (diff)
downloadtgif-b7e58b17b50bbbf00299fc89c480efd7cc92c1bd.tar.xz
Racy git: avoid having to be always too careful
Immediately after a bulk checkout, most of the paths in the working tree would have the same timestamp as the index file, and this would force ce_match_stat() to take slow path for all of them. When writing an index file out, if many of the paths have very new (read: the same timestamp as the index file being written out) timestamp, we are better off delaying the return from the command, to make sure that later command to touch the working tree files will leave newer timestamps than recorded in the index, thereby avoiding to take the slow path. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions