diff options
| author | shejialuo <shejialuo@gmail.com> | 2025-10-06 14:32:23 +0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-06 09:11:07 -0700 |
| commit | 03ef7762ea12f3b034a2281040bd61c74fd36386 (patch) | |
| tree | 8d16d26cba726ee89712b264bb25e024cba922c9 /range-diff.h | |
| parent | 2462961280690837670d997bde64bd4ebf8ae66d (diff) | |
string-list: use bool instead of int for "exact_match"
The "exact_match" parameter in "get_entry_index" is used to indicate
whether a string is found or not, which is fundamentally a true/false
value. As we allow the use of bool, let's use bool instead of int to
make the function more semantically clear.
Signed-off-by: shejialuo <shejialuo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'range-diff.h')
0 files changed, 0 insertions, 0 deletions
