Name |
Last commit
|
Last update |
---|---|---|
.. | ||
bare.c | ||
config.c | ||
merge.c | ||
open.c | ||
reflog.c | ||
refs.c | ||
repository.c | ||
submodule.c | ||
worktree.c | ||
worktree_helpers.c | ||
worktree_helpers.h |
Given a Git repository, it's non-trivial to iterate over all worktrees that are associated with it, including the "main" repository. This commit adds a new internal function `git_repository_foreach_worktree` that does this for us.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
bare.c | Loading commit data... | |
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... |