summaryrefslogtreecommitdiff
path: root/t/t0201-gettext-fallbacks.sh
diff options
context:
space:
mode:
authorDerrick Stolee <derrickstolee@github.com>2023-01-31 13:29:19 (GMT)
committerJunio C Hamano <gitster@pobox.com>2023-01-31 16:57:48 (GMT)
commit026df9e04789e2af7271566f312aae323740309f (patch)
treecd396575263fe79112f1aaa9332e04555b19b630 /t/t0201-gettext-fallbacks.sh
parentc429bed10223135a13f1f2f854e367762c37af7a (diff)
downloadgit-026df9e04789e2af7271566f312aae323740309f.zip
git-026df9e04789e2af7271566f312aae323740309f.tar.gz
git-026df9e04789e2af7271566f312aae323740309f.tar.bz2
bundle-uri: test missing bundles with heuristic
The creationToken heuristic uses a different mechanism for downloading bundles from the "standard" approach. Specifically: it uses a concrete order based on the creationToken values and attempts to download as few bundles as possible. It also modifies local config to store a value for future fetches to avoid downloading bundles, if possible. However, if any of the individual bundles has a failed download, then the logic for the ordering comes into question. It is important to avoid infinite loops, assigning invalid creation token values in config, but also to be opportunistic as possible when downloading as many bundles as seem appropriate. These tests were used to inform the implementation of fetch_bundles_by_token() in bundle-uri.c, but are being added independently here to allow focusing on faulty downloads. There may be more cases that could be added that result in modifications to fetch_bundles_by_token() as interesting data shapes reveal themselves in real scenarios. Signed-off-by: Derrick Stolee <derrickstolee@github.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0201-gettext-fallbacks.sh')
0 files changed, 0 insertions, 0 deletions