6 years ago 5677e194b1 Stefan Sperling
rename got_zb_priv.h to got_zbuf_priv.h
6 years ago a76a38d94e Stefan Sperling
rename zb.c to zbuf.c
6 years ago c88eb29865 Stefan Sperling
rename worktree_root to root_path in struct worktree
6 years ago cde76477d6 Stefan Sperling
rename some fields in struct worktree
6 years ago e8f369580e Stefan Sperling
read / free the head ref when work tree is opened / closed
6 years ago d6c38e0dea Stefan Sperling
free base commit when worktree is closed
6 years ago f5baf295a4 Stefan Sperling
read base commit hash when worktree is opened
6 years ago 65e3b81819 Stefan Sperling
set base commit to invalid commit id when work tree is created
6 years ago 0605801d85 Stefan Sperling
check read() return value properly in read_meta_file()
6 years ago 7ac9732201 Stefan Sperling
rename variable gotpath to path_got
6 years ago fdf001a7fe Stefan Sperling
add a proper definition for the worktree head
6 years ago e350ead34f Stefan Sperling
create an emtpy base-commit file
6 years ago 3962e86afd Stefan Sperling
add verbose output to worktree_test -v
6 years ago 5de261fe1d Stefan Sperling
fix mem leak in worktree test code
6 years ago 07a7f8ade2 Stefan Sperling
in work tree test code, use stat() to test existence of file
6 years ago 6b7476e9f2 Stefan Sperling
plug file descriptor leak in worktree test code
6 years ago 45d8e5fd73 Stefan Sperling
fail test if worktree cannot be removed
6 years ago b18d25dfcd Stefan Sperling
rename worktree test helper function
6 years ago 8eac252b90 Stefan Sperling
introduce a helper function for use by work tree init test
6 years ago 056e7441d0 Stefan Sperling
use a dedicated file for the work tree lock
6 years ago 58ecc593d8 Stefan Sperling
document how work tree locking will work
6 years ago ef99fdb109 Stefan Sperling
use flock(2) because open(2) O_NONBLOCK also enables non-blocking I/O
6 years ago 73a5ef678f Stefan Sperling
lock meta data files in worktree correctly
6 years ago 6d9d28c32e Stefan Sperling
implement worktree open and close operations
6 years ago 2cb4bacb7c Stefan Sperling
assume good path input in got_worktree_init()