• Junio C Hamano's avatar
    stream filter: add "no more input" to the filters · 4ae66704
    Junio C Hamano authored
    Some filters may need to buffer the input and look-ahead inside it
    to decide what to output, and they may consume more than zero bytes
    of input and still not produce any output. After feeding all the
    input, pass NULL as input as keep calling stream_filter() to let
    such filters know there is no more input coming, and it is time for
    them to produce the remaining output based on the buffered input.
    Signed-off-by: default avatarJunio C Hamano <[email protected]>
    4ae66704
convert.h 1.98 KB