summaryrefslogtreecommitdiff
path: root/t/lib-httpd/apache.conf
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2020-06-23 11:24:56 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-06-23 19:56:26 -0700
commita0f65641dfb67ffa94f1e33ded2cbab8d77d53a5 (patch)
tree7a7ec96b58f2c76ab8c2cd91ec457c61adfde191 /t/lib-httpd/apache.conf
parentfast-export: tighten anonymize_mem() interface to handle only strings (diff)
downloadtgif-a0f65641dfb67ffa94f1e33ded2cbab8d77d53a5.tar.xz
fast-export: stop storing lengths in anonymized hashmaps
Now that the anonymize_str() interface is restricted to NUL-terminated strings, there's no need for us to keep track of the length of each entry in the hashmap. This simplifies the code and saves a bit of memory. Note that we do still need to compare the stored results to partial strings passed in by the callers. We can do that by using hashmap's keydata feature to get the ptr/len pair into the comparison function, and then using strncmp(). Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/lib-httpd/apache.conf')
0 files changed, 0 insertions, 0 deletions