worktree.c
3.67 KB
-
worktree: implement `git_worktree_validate` · 372dc9ff
Add a new function that checks wether a given `struct git_worktree` is valid. The validation includes checking if the gitdir, parent directory and common directory are present.
Patrick Steinhardt committed