Commits


Remove redundant error check after got_object_id_by_path(). An error code is always returned when the oid is NULL.


move got_repo_cmp_tags() to got_ref_cmp_tags()


move cmp_tags() into the library


move match_object_id() into the library; supersedes got_repo_resolve_commit_arg


fix 'tog log -c' with tags


remove unneeded done jumps


support Git-style "lightweight" tags as arguments for 'got diff'


handle Git-style "lightweight" tags in got tag -l


unbreak got and tog commands by disabling GNU extensions in getopt_long(3)


update usage


make got and tog accept a --version argument; -V option is a bit obscure prompted by a question from tedu@


add -E option to 'got checkout' allowing use of a non-empty work tree path needed by and ok kn@


add copyright year for files already touched in 2020


simplify got_commit_graph_open()


remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead


make 'got checkout' and 'got update' work with read-only repositories but warn users about the garbage collection problem


both 'got add' and 'got rm' now accept directories; sync usage and man pages


add -k option to 'got remove' to keep files on disk ok stsp


address some of the file descriptor vs. path races in status callbacks


add -R option to 'got remove' for recursive deletion ok stsp


always show numeric dates in ISO-8601/xkcd-1179 format ok millert tracey sthen


got: start_commit and search_pattern ought to be const Revert the last accidential revert; sorry for the noise, I fat fingered got commands while juggling diffs.


Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.


got: start_commit and search_pattern ought to be const Must not be passed to free(3), holds argv[] input.


got: start_commit and search_pattern ought to be const Must not be passed to free(3), holds argv[] input.