Commit Briefs

5677e194b1 Stefan Sperling

rename got_zb_priv.h to got_zbuf_priv.h


a76a38d94e Stefan Sperling

rename zb.c to zbuf.c


c88eb29865 Stefan Sperling

rename worktree_root to root_path in struct worktree


cde76477d6 Stefan Sperling

rename some fields in struct worktree


e8f369580e Stefan Sperling

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


d6c38e0dea Stefan Sperling

free base commit when worktree is closed


f5baf295a4 Stefan Sperling

read base commit hash when worktree is opened



0605801d85 Stefan Sperling

check read() return value properly in read_meta_file()


7ac9732201 Stefan Sperling

rename variable gotpath to path_got


fdf001a7fe Stefan Sperling

add a proper definition for the worktree head


e350ead34f Stefan Sperling

create an emtpy base-commit file


3962e86afd Stefan Sperling

add verbose output to worktree_test -v


5de261fe1d Stefan Sperling

fix mem leak in worktree test code



6b7476e9f2 Stefan Sperling

plug file descriptor leak in worktree test code


45d8e5fd73 Stefan Sperling

fail test if worktree cannot be removed


b18d25dfcd Stefan Sperling

rename worktree test helper function


8eac252b90 Stefan Sperling

introduce a helper function for use by work tree init test


056e7441d0 Stefan Sperling

use a dedicated file for the work tree lock


58ecc593d8 Stefan Sperling

document how work tree locking will work



73a5ef678f Stefan Sperling

lock meta data files in worktree correctly


6d9d28c32e Stefan Sperling

implement worktree open and close operations


2cb4bacb7c Stefan Sperling

assume good path input in got_worktree_init()