• J
    diff-lib.c: constness strengthening · c8c16f28
    Junio C Hamano 提交于
    The internal implementation of diff-index codepath used to use non const
    pointer to pass sha1 around, but it did not have to.  With this, we can
    also lose the private no_sha1[] array, as we can use the public null_sha1[]
    array that exists exactly for the same purpose.
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    c8c16f28
diff-lib.c 18.6 KB