diff options
author | Derrick Stolee <derrickstolee@github.com> | 2024-12-20 16:21:12 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-12-20 08:37:05 -0800 |
commit | c8dba310d734962c0bcadd8cad1ebf7cfe734c8c (patch) | |
tree | b594be4998d97ee2ff153c5c19f522a2f8410170 /builtin/commit.c | |
parent | d190124f277952bd828f932d87e76deabedf0c83 (diff) |
path-walk: allow consumer to specify object types
We add the ability to filter the object types in the path-walk API so
the callback function is called fewer times.
This adds the ability to ask for the commits in a list, as well. We
re-use the empty string for this set of objects because these are passed
directly to the callback function instead of being part of the
'path_stack'.
Future changes will add the ability to visit annotated tags.
Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions