class documentation

Test for compatibility with git-worktree.

Method create_new_worktree Create a new worktree using git-worktree.
Method setUp Undocumented
Method test_bare Undocumented
Method test_git_worktree_config Test that git worktree config parsing matches the git CLI's behavior.
Method test_git_worktree_list Undocumented
Method test_head_equality Undocumented
Method test_refs Undocumented
Class Variable min_git_version Undocumented
Method _parse_worktree_list Undocumented
Instance Variable _mainworktree_repo Undocumented
Instance Variable _number_of_working_tree Undocumented
Instance Variable _repo Undocumented
Instance Variable _worktree_path Undocumented
Instance Variable _worktree_repo Undocumented

Inherited from ObjectStoreTestCase:

Method assertShasMatch Undocumented
Method test_all_objects Undocumented
Method test_head Undocumented
Method test_loose_objects Undocumented
Method test_packed_objects Undocumented
Method _get_all_shas Undocumented
Method _get_loose_shas Undocumented
Method _parse_objects Undocumented
Method _parse_refs Undocumented
Method _run_git Undocumented

Inherited from CompatTestCase (via ObjectStoreTestCase):

Method assertObjectStoreEqual Undocumented
Method assertReposEqual Undocumented
Method assertReposNotEqual Undocumented
Method import_repo Import a repo from a fast-export file in a temporary directory.

Inherited from TestCase (via ObjectStoreTestCase, CompatTestCase):

Method overrideEnv Undocumented
def create_new_worktree(self, repo_dir, branch):

Create a new worktree using git-worktree.

Returns: The path to the new working tree.

Parameters
repo_dirThe directory of the main working tree.
branchThe branch or commit to checkout in the new worktree.
def test_git_worktree_config(self):

Test that git worktree config parsing matches the git CLI's behavior.

def test_git_worktree_list(self):

Undocumented

def test_head_equality(self):
def _parse_worktree_list(self, output):

Undocumented

_mainworktree_repo =

Undocumented

_number_of_working_tree: int =
_worktree_path =

Undocumented

_worktree_repo =

Undocumented