6 years ago Stefan Sperling
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
read base commit hash when worktree is opened
set base commit to invalid commit id when work tree is created
check read() return value properly in read_meta_file()
rename variable gotpath to path_got
add a proper definition for the worktree head
create an emtpy base-commit file
add verbose output to worktree_test -v
fix mem leak in worktree test code
in work tree test code, use stat() to test existence of file
plug file descriptor leak in worktree test code
fail test if worktree cannot be removed
rename worktree test helper function
introduce a helper function for use by work tree init test
use a dedicated file for the work tree lock
document how work tree locking will work
use flock(2) because open(2) O_NONBLOCK also enables non-blocking I/O
lock meta data files in worktree correctly
implement worktree open and close operations