5 years ago 5e1c9f2326 Stefan Sperling
fix dirname() usage errors around got_path_mkdir()
5 years ago 49c7094fd1 Stefan Sperling
fix broken error checking in got_ref_write()
5 years ago ddcd8544ed Stefan Sperling
move worktree-specific error handling out of got_path_mkdir()
5 years ago 9743083996 Stefan Sperling
'got update' also needs repo write access now
5 years ago 47112f6094 Stefan Sperling
fix allocation size bug in got_lockfile_lock()
5 years ago 0647c5632b Stefan Sperling
remove path portion from worktree base commit ref name
5 years ago 517bab732f Stefan Sperling
deduplicate code for constructing a worktree's base ref name
5 years ago 0c48fee25c Stefan Sperling
refuse to create got worktree at a git repo path
5 years ago 0cd1c46a9e Stefan Sperling
create references to base commits of got worktrees
5 years ago e2e879a086 Stefan Sperling
introduce got_ref_list_free() and use it in got and tog
5 years ago d0eebce407 Stefan Sperling
add 'got ref' subcommand; no support for symbolic refs yet
5 years ago 2d2e137815 Stefan Sperling
add got_ref_delete(); only loose refs supported for now
5 years ago 8fa2f09641 Stefan Sperling
fix off-by-one in fwrite() check in got_ref_write()
5 years ago 0fd469ce93 Stefan Sperling
make got_ref_write() work for refs which do not exist yet
5 years ago c789dbac2f Stefan Sperling
fix bug in got_lockfile_lock() where it never succeeded
5 years ago 58908ed09b Stefan Sperling
fix path construction with empty subdir in open_ref()
5 years ago 9e672c7443 Stefan Sperling
implement got_ref_write()
5 years ago f02eaa22e5 Stefan Sperling
better error if .got directory is missing files
5 years ago f77a24b036 Stefan Sperling
validate ref names
5 years ago 01b7ba6b73 Stefan Sperling
add a lockfile API
5 years ago 5892cdd6cc Stefan Sperling
introduce got_ref_alloc()
5 years ago bd16594452 Stefan Sperling
plug memleak in got_open_worktree()
5 years ago c442a90d57 Stefan Sperling
read UUID back from work tree meta data
5 years ago ec22038e8d Stefan Sperling
add a UUID to work tree meta data
5 years ago 095892882c Stefan Sperling
add got_error_uuid()