• P
    Rework unquote_c_style to work on a strbuf. · 7fb1011e
    Pierre Habouzit 提交于
    If the gain is not obvious in the diffstat, the resulting code is more
    readable, _and_ in checkout-index/update-index we now reuse the same buffer
    to unquote strings instead of always freeing/mallocing.
    
    This also is more coherent with the next patch that reworks quoting
    functions.
    
    The quoting function is also made more efficient scanning for backslashes
    and treating portions of strings without a backslash at once.
    Signed-off-by: NPierre Habouzit <madcoder@debian.org>
    7fb1011e
fast-import.c 58.0 KB