diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-07-28 13:17:57 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-07-28 13:17:57 -0700 |
commit | e5cc59c77c875aeda93a3cdfe70c8254164324ab (patch) | |
tree | 2299898410f357bfe17235877d70fdd1147c0ac7 /dir.h | |
parent | 14793a4e37341950dc338ea7a7dbc05db37f5e9e (diff) | |
parent | 92d8ed8ac101d62183d51f280b90efb1de1bda5c (diff) | |
download | git-e5cc59c77c875aeda93a3cdfe70c8254164324ab.tar.gz |
Merge branch 'ew/many-alternate-optim'
Optimization for repositories with many alternate object store.
* ew/many-alternate-optim:
oidtree: a crit-bit tree for odb_loose_cache
oidcpy_with_padding: constify `src' arg
make object_directory.loose_objects_subdir_seen a bitmap
avoid strlen via strbuf_addstr in link_alt_odb_entry
speed up alt_odb_usable() with many alternates
Diffstat (limited to 'dir.h')
-rw-r--r-- | dir.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -489,7 +489,9 @@ int remove_dir_recursively(struct strbuf *path, int flag); int remove_path(const char *path); int fspathcmp(const char *a, const char *b); +int fspatheq(const char *a, const char *b); int fspathncmp(const char *a, const char *b, size_t count); +unsigned int fspathhash(const char *str); /* * The prefix part of pattern must not contains wildcards. |