From: Junio C Hamano Date: Wed, 5 Jul 2017 20:32:56 +0000 (-0700) Subject: Merge branch 'rs/sha1-name-readdir-optim' X-Git-Tag: v2.14.0-rc0~37 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ab148dda0076a136b4afb385d96bd9cdc4d2590;p=thirdparty%2Fgit.git Merge branch 'rs/sha1-name-readdir-optim' Optimize "what are the object names already taken in an alternate object database?" query that is used to derive the length of prefix an object name is uniquely abbreviated to. * rs/sha1-name-readdir-optim: sha1_file: guard against invalid loose subdirectory numbers sha1_file: let for_each_file_in_obj_subdir() handle subdir names p4205: add perf test script for pretty log formats sha1_name: cache readdir(3) results in find_short_object_filename() --- 5ab148dda0076a136b4afb385d96bd9cdc4d2590 diff --cc cache.h index c958fc3ce5,7f7ec5d56d..c12f452890 --- a/cache.h +++ b/cache.h @@@ -11,7 -11,7 +11,8 @@@ #include "string-list.h" #include "pack-revindex.h" #include "hash.h" +#include "path.h" + #include "sha1-array.h" #ifndef platform_SHA_CTX /*