summaryrefslogtreecommitdiff
path: root/Documentation/technical/commit-graph.adoc
diff options
context:
space:
mode:
authorJustin Tobler <jltobler@gmail.com>2025-10-21 13:25:56 -0500
committerJunio C Hamano <gitster@pobox.com>2025-10-21 14:40:37 -0700
commiteafc03dbe316478acff5eef3b70c037de4758f08 (patch)
tree20e2099e616b93fff16edc212ee73571bd1ce6dd /Documentation/technical/commit-graph.adoc
parent026ad6016070748a66ed9a977ad90efc08df2225 (diff)
ref-filter: allow NULL filter pattern
When setting up `struct ref_filter` for filter_refs(), the `name_patterns` field must point to an array of pattern strings even if no patterns are required. To improve this interface, treat a NULL `name_patterns` field the same as when it points to an empty array. Signed-off-by: Justin Tobler <jltobler@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/technical/commit-graph.adoc')
0 files changed, 0 insertions, 0 deletions