aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
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 /builtin/commit.c
parentbuiltin/repo: rename repo_info() to cmd_repo_info() (diff)
downloadgit-eafc03dbe316478acff5eef3b70c037de4758f08.tar.gz
git-eafc03dbe316478acff5eef3b70c037de4758f08.zip
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 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions