libgit2/tests/worktree
Patrick Steinhardt 2a485dabc0 refs: update worktree HEADs when renaming branches
Whenever we rename a branch, we update the repository's symbolic HEAD
reference if it currently points to the branch that is to be renamed.
But with the introduction of worktrees, we also have to iterate over all
HEADs of linked worktrees to adjust them. Do so.
2017-04-05 13:50:38 +02:00
..
config.c config: open configuration in commondir 2017-02-13 10:28:15 +01:00
merge.c repository: rename path_repository and path_gitlink 2017-02-13 11:07:52 +01:00
open.c worktree: implement git_worktree_open_from_repository 2017-03-17 09:26:13 +01:00
reflog.c refdb: look for reflog in commondir 2017-02-13 10:28:15 +01:00
refs.c refs: update worktree HEADs when renaming branches 2017-04-05 13:50:38 +02:00
repository.c worktree: implement functions reading HEAD 2017-02-13 11:03:01 +01:00
submodule.c submodule: resolve URLs relative to main worktree 2017-03-17 09:27:56 +01:00
worktree_helpers.c tests: implement worktree helpers 2017-02-13 10:13:02 +01:00
worktree_helpers.h tests: implement worktree helpers 2017-02-13 10:13:02 +01:00
worktree.c refs: update worktree HEADs when renaming branches 2017-04-05 13:50:38 +02:00