diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-03-25 11:03:07 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-03-25 09:54:07 -0700 |
commit | 35aeabd6c2845b89515f1fb374231dcc5d63d61d (patch) | |
tree | 2d41a84d4b92d9378f8afa5a2cf7852ceb3be30f /gitweb/static/js/javascript-detection.js | |
parent | 0f65c7a6761142c7abc6a2415325eda6f44edf49 (diff) |
refs: remove `PACK_REFS_ALL` flag
The intent of the `PACK_REFS_ALL` flag is to ask the backend to compact
all refs instead of only a subset of them. Thus, this flag gets passed
down to `refs_pack_refs()` via `struct pack_refs_opts::flags`.
But starting with 4fe42f326e (pack-refs: teach pack-refs --include
option, 2023-05-12), the flag's semantics have changed. Instead of being
handled by the respective backends, this flag is now getting handled by
the callers of `refs_pack_refs()` which will add a single glob ("*") to
the list of refs-to-be-packed. Thus, the flag serves no purpose to the
ref backends anymore.
Remove the flag and replace it with a local variable.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb/static/js/javascript-detection.js')
0 files changed, 0 insertions, 0 deletions