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 |
In case where a branch is getting renamed, all HEADs of the main repository and of its worktrees that point to the old branch need to get updated to point to the new branch. We already do so and have a test for this, but the test only verifies that we're able to lookup the updated HEAD, not what it contains. Let's make the test more specific by verifying the updated HEAD also has the correct updated symbolic target.
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... |