Commits


rename worktree_root to root_path in struct worktree


rename some fields in struct worktree


read / free the head ref when work tree is opened / closed


read base commit hash when worktree is opened


set base commit to invalid commit id when work tree is created


add a proper definition for the worktree head


create an emtpy base-commit file


use a dedicated file for the work tree lock


document how work tree locking will work


implement worktree open and close operations


store a path prefix in the worktree; will be used for subtree checkout


stamp worktrees with a format number


add worktree skeleton code; implement got_worktree_init()