Files
git/builtin
Patrick Steinhardt 9b67eb6fbe refs: get rid of global list of hidden refs
We're about to add a new argument to git-rev-list(1) that allows it to
add all references that are visible when taking `transfer.hideRefs` et
al into account. This will require us to potentially parse multiple sets
of hidden refs, which is not easily possible right now as there is only
a single, global instance of the list of parsed hidden refs.

Refactor `parse_hide_refs_config()` and `ref_is_hidden()` so that both
take the list of hidden references as input and adjust callers to keep a
local list, instead. This allows us to easily use multiple hidden-ref
lists. Furthermore, it allows us to properly free this list before we
exit.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Taylor Blau <me@ttaylorr.com>
2022-11-17 16:22:51 -05:00
..
2022-06-07 14:10:56 -07:00
2022-04-06 09:42:14 -07:00
2022-08-05 15:52:14 -07:00
2022-02-17 16:25:05 -08:00
2022-10-17 15:46:09 -07:00
2021-10-28 09:57:09 -07:00
2022-10-01 15:58:38 -07:00
2022-09-14 12:56:39 -07:00
2022-10-10 10:08:39 -07:00
2022-10-27 14:51:52 -07:00
2022-09-02 10:02:56 -07:00
2022-09-14 12:56:39 -07:00
2022-09-19 14:35:23 -07:00
2022-10-27 14:51:52 -07:00
2022-08-08 13:23:26 -07:00
2022-09-14 12:56:39 -07:00
2021-11-03 13:25:36 -07:00