Commit 50e012163619a1808bb7e06e658f3d47a472f0d1

Edward Thomson 2021-03-20T16:39:29

repo: introduce git_repository_workdir_path Add a simple accessor for workdir paths to get an absolute on-disk path given a repository and a relative path within it. This is useful to avoid copy-pasta `git_buf_joinpath` and to ensure that we validate working directory paths while honoring `core.longpaths` settings.