diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-09-24 21:55:04 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-24 22:20:58 -0700 |
commit | 610e2b924020fe2d6a55e7ca6651f309b85c2d1d (patch) | |
tree | 4dda607bf854f2b293862eca090389a55812857e /diffcore.h | |
parent | t8013: minimum preparatory clean-up (diff) | |
download | tgif-610e2b924020fe2d6a55e7ca6651f309b85c2d1d.tar.xz |
blame: validate and peel the object names on the ignore list
The command reads list of object names to place on the ignore list
either from the command line or from a file, but they are not
checked with their object type (those read from the file are not
even checked for object existence).
Extend the oidset_parse_file() API and allow it to take a callback
that can be used to die (e.g. when an inappropriate input is read)
or modify the object name read (e.g. when a tag pointing at a commit
is read, and the caller wants a commit object name), and use it in
the code that handles ignore list.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
0 files changed, 0 insertions, 0 deletions