Revision 750bb32589ea157bfe522a66f814a0124c97c41b authored by Jeff King on 23 June 2020, 15:24:51 UTC, committed by Junio C Hamano on 24 June 2020, 02:56:26 UTC
When fast-export stores anonymized oids, it does so as binary strings.
And while the anonymous mapping storage is binary-clean (at least as of
the previous commit), this will become awkward when we start exposing
more of it to the user. In particular, if we allow a method for
retaining token "foo", then users may want to specify a hex oid as such
a token.

Let's just switch to storing the hex strings. The difference in memory
usage is negligible (especially considering how infrequently we'd
generally store an oid compared to, say, path components).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent b897bf5
History
File Mode Size
config
util
install-dependencies.sh -rwxr-xr-x 2.6 KB
install-docker-dependencies.sh -rwxr-xr-x 441 bytes
lib.sh -rwxr-xr-x 6.8 KB
make-test-artifacts.sh -rwxr-xr-x 211 bytes
mount-fileshare.sh -rwxr-xr-x 505 bytes
print-test-failures.sh -rwxr-xr-x 2.7 KB
run-build-and-tests.sh -rwxr-xr-x 823 bytes
run-docker-build.sh -rwxr-xr-x 1.9 KB
run-docker.sh -rwxr-xr-x 1.0 KB
run-static-analysis.sh -rwxr-xr-x 497 bytes
run-test-slice.sh -rwxr-xr-x 347 bytes
test-documentation.sh -rwxr-xr-x 1.1 KB

back to top