• S
    Use uintmax_t for marks in fast-import. · 0ea9f045
    Shawn O. Pearce 提交于
    If a frontend wants to use a mark per file revision and per commit
    and is doing a truly huge import (such as a 32 GiB SVN repository)
    we may need more than 2**32 unique mark values, especially if the
    frontend is unable (or unwilling) to recycle mark values.  For mark
    idnums we should use the largest unsigned integer type available,
    hoping that will be at least 64 bits when we are compiled as a 64
    bit executable.  This way we may consume huge amounts of memory
    storing our mark table, but we'll at least be able to process
    the entire import without failing.
    Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
    0ea9f045
fast-import.c 45.0 KB