• J
    apply, ls-files: simplify "-z" parsing · 1f3c79a9
    Jeff King 提交于
    As a short option, we cannot handle negation. Thus a callback
    handling "unset" is overkill, and we can just use OPT_SET_INT
    instead to handle setting the option.
    
    Anybody who adds "--nul" synonym to this later would need to be
    careful not to break "--no-nul", which should mean that lines are
    terminated with LF at the end.
    Signed-off-by: NJeff King <peff@peff.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    1f3c79a9
apply.c 119.0 KB