• J
    read_directory(): further split treat_path() · 16e2cfa9
    Junio C Hamano 提交于
    The next caller I'll be adding won't have an access to struct dirent
    because it won't be reading from a directory stream.  Split the main
    part of the function further into a separate function to make it usable
    by a caller without passing a dirent as long as it knows what type is
    feeding the function.
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    16e2cfa9
dir.c 22.5 KB