Commit Briefs

c34b20a267 Stefan Sperling

write file index after checking out files


9d31a1d8a4 Stefan Sperling

initial implementation of worktree checkout


dc2404d9e5 Stefan Sperling

remove got_worktree_change_head() for now


35be1456d6 Stefan Sperling

implement got_worktree_get_head_ref_name()


e559c32898 Stefan Sperling

refine file index data structures a bit more


32cb896c4b Stefan Sperling

rename library-private headers from *_priv.h to *_lib.h


78727e9157 Stefan Sperling

add missing function declarations


c48c4a9c3b Stefan Sperling

implement fileindex entry open/close


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