• Show log

    Commit

  • Hash : dc1ba018
    Author : Edward Thomson
    Date : 2021-03-20T13:01:00

    path: introduce ondisk and workdir path validation
    
    Introduce `git_path_validate_filesystem` which validates (absolute) on-disk
    paths and `git_path_validate_workdir` to perform validations on (absolute)
    working directory paths.  These functions are useful as there may be system
    limitations on on-disk paths, particularly on Windows (for example,
    enforcing MAX_PATH).
    
    For working directory paths, these limitations may be per-repository, based
    on the `core.longpaths` configuration setting.