Skip to content
  • Junio C Hamano's avatar
    blame: validate and peel the object names on the ignore list · 610e2b92
    Junio C Hamano authored
    
    
    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: default avatarJunio C Hamano <gitster@pobox.com>
    610e2b92