6 years ago 5c860e2997 Stefan Sperling
add got(1) command code from mpi
6 years ago 5166488913 Stefan Sperling
in got_worktree_checkout_files, init file index path before using
6 years ago e77c4c9f24 Stefan Sperling
remove base-commit meta file; this will move into the fileindex
6 years ago c34b20a267 Stefan Sperling
write file index after checking out files
6 years ago 9d31a1d8a4 Stefan Sperling
initial implementation of worktree checkout
6 years ago dc2404d9e5 Stefan Sperling
remove got_worktree_change_head() for now
6 years ago 35be1456d6 Stefan Sperling
implement got_worktree_get_head_ref_name()
6 years ago e559c32898 Stefan Sperling
refine file index data structures a bit more
6 years ago 32cb896c4b Stefan Sperling
rename library-private headers from *_priv.h to *_lib.h
6 years ago 78727e9157 Stefan Sperling
add missing function declarations
6 years ago c48c4a9c3b Stefan Sperling
implement fileindex entry open/close
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