6 years ago Stefan Sperling
remove base-commit meta file; this will move into the fileindex
write file index after checking out files
initial implementation of worktree checkout
remove got_worktree_change_head() for now
implement got_worktree_get_head_ref_name()
refine file index data structures a bit more
rename library-private headers from *_priv.h to *_lib.h
add missing function declarations
implement fileindex entry open/close
rename got_zb_priv.h to got_zbuf_priv.h
rename zb.c to zbuf.c
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
free base commit when worktree is closed