| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config.c | ||
| merge.c | ||
| open.c | ||
| reflog.c | ||
| refs.c | ||
| repository.c | ||
| submodule.c | ||
| worktree.c | ||
| worktree_helpers.c | ||
| worktree_helpers.h |
While we already provide functionality to look up a worktree from a repository, we cannot do so the other way round. That is given a repository, we want to look up its worktree if it actually exists. Getting the worktree of a repository is useful when we want to get certain meta information like the parent's location, getting the locked status, etc.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config.c | Loading commit data... | |
| merge.c | Loading commit data... | |
| open.c | Loading commit data... | |
| reflog.c | Loading commit data... | |
| refs.c | Loading commit data... | |
| repository.c | Loading commit data... | |
| submodule.c | Loading commit data... | |
| worktree.c | Loading commit data... | |
| worktree_helpers.c | Loading commit data... | |
| worktree_helpers.h | Loading commit data... |