Commits


introduce got_ref_list_free() and use it in got and tog


add 'got ref' subcommand; no support for symbolic refs yet


add got_ref_delete(); only loose refs supported for now


fix off-by-one in fwrite() check in got_ref_write()


make got_ref_write() work for refs which do not exist yet


fix bug in got_lockfile_lock() where it never succeeded


fix path construction with empty subdir in open_ref()


implement got_ref_write()


better error if .got directory is missing files


validate ref names


add a lockfile API


introduce got_ref_alloc()


plug memleak in got_open_worktree()


read UUID back from work tree meta data


add a UUID to work tree meta data