summaryrefslogtreecommitdiff
path: root/src/worktree.c
Commit message (Collapse)AuthorAgeFilesLines
...
* worktree: implement `git_worktree_validate`Patrick Steinhardt2017-02-131-0/+38
| | | | | | 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.
* worktree: introduce `struct git_worktree`Patrick Steinhardt2017-02-131-0/+89
| | | | | | | Introduce a new `struct git_worktree`, which holds information about a possible working tree connected to a repository. Introduce functions to allow opening working trees for a repository.
* worktree: implement `git_worktree_list`Patrick Steinhardt2017-02-131-0/+58
Add new module for working trees with the `git_worktree_list` function. The function lists names for all working trees of a certain repository.