diff options
| author | Patrick Steinhardt <ps@pks.im> | 2026-01-12 10:02:54 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-01-12 06:55:40 -0800 |
| commit | 0ff9cf40b2ce3df2f6eda0875eb54fe3c3487f5b (patch) | |
| tree | 32737af0cbdd07cede2ceae36cf72a582cac897a /t/t4013/diff.format-patch_--inline_--stdout_initial..master^ | |
| parent | 2fe33ae20fcce7a1e91cfeec37409d511ab8aefb (diff) | |
| download | git-0ff9cf40b2ce3df2f6eda0875eb54fe3c3487f5b.tar.gz git-0ff9cf40b2ce3df2f6eda0875eb54fe3c3487f5b.zip | |
refs/files: extract function to check single ref
When checking the consistency of references we create a directory
iterator and then verify each single reference in a loop. The logic to
perform the actual checks is embedded into that loop, which makes it
hard to reuse. But In a subsequent commit we're about to introduce a
second path that wants to verify references.
Prepare for this by extracting the logic to check a single reference
into a standalone function.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.format-patch_--inline_--stdout_initial..master^')
0 files changed, 0 insertions, 0 deletions
