diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2021-08-16 14:09:53 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-08 11:47:55 -0700 |
commit | 50d92b5f03f3c84d581b27cb8fa3a4b8cfbf2567 (patch) | |
tree | ee65bc9d265a9bf36649dda4af01b7cc292acba5 /Documentation/RelNotes/2.16.6.txt | |
parent | grep: use submodule-ODB-as-alternate lazy-addition (diff) | |
download | tgif-50d92b5f03f3c84d581b27cb8fa3a4b8cfbf2567.tar.xz |
grep: typesafe versions of grep_source_init
grep_source_init() can create "struct grep_source" objects and,
depending on the value of the type passed, some void-pointer parameters have
different meanings. Because one of these types (GREP_SOURCE_OID) will
require an additional parameter in a subsequent patch, take the
opportunity to increase clarity and type safety by replacing this
function with individual functions for each type.
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
Reviewed-by: Matheus Tavares <matheus.bernardino@usp.br>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/2.16.6.txt')
0 files changed, 0 insertions, 0 deletions