6 years ago 5261c20130 Stefan Sperling
rename 'refs' to 'reference'
6 years ago f7b3892592 Stefan Sperling
make paths shown during checkout match what is created on disk
6 years ago 0a585a0d64 Stefan Sperling
remove GOT_ERR_NO_MEM, we can just use errno in those cases
6 years ago 718b3ab0e3 Stefan Sperling
rename the library-internal headers again to a common prefix
6 years ago 0bb8a95e46 Stefan Sperling
add support for checking out a subtree
6 years ago 92a684f463 Stefan Sperling
show progress during checkout
6 years ago 23b19d00d9 Stefan Sperling
fix worktree test build: remove more unused variables
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 32cb896c4b Stefan Sperling
rename library-private headers from *_priv.h to *_lib.h
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 056e7441d0 Stefan Sperling
use a dedicated file for the work tree lock