git/refs
John Cai 826ae79fca pack-refs: teach --exclude option to exclude refs from being packed
At GitLab, we have a system that creates ephemeral internal refs that
don't live long before getting deleted. Having an option to exclude
certain refs from a packed-refs file allows these internal references to
be deleted much more efficiently.

Add an --exclude option to the pack-refs builtin, and use the ref
exclusions API to exclude certain refs from being packed into the final
packed-refs file

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-05-12 14:54:14 -07:00
..
debug.c pack-refs: teach --exclude option to exclude refs from being packed 2023-05-12 14:54:14 -07:00
files-backend.c pack-refs: teach --exclude option to exclude refs from being packed 2023-05-12 14:54:14 -07:00
iterator.c treewide: remove unnecessary cache.h inclusion from several sources 2023-03-21 10:56:51 -07:00
packed-backend.c pack-refs: teach --exclude option to exclude refs from being packed 2023-05-12 14:54:14 -07:00
packed-backend.h Revert "Merge branch 'ps/avoid-unnecessary-hook-invocation-with-packed-refs'" 2022-04-13 15:51:33 -07:00
ref-cache.c alloc.h: move ALLOC_GROW() functions from cache.h 2023-02-23 17:25:28 -08:00
ref-cache.h treewide: reduce includes of cache.h in other headers 2023-04-11 08:52:11 -07:00
refs-internal.h pack-refs: teach --exclude option to exclude refs from being packed 2023-05-12 14:54:14 -07:00