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