Commits


fix pack index cache; don't open/close pack index files needlessly


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


prevent rebase with an out-of-date work tree


parse remotes from gitconfig


Outright forbid reference names with a leading '-'. Matches behaviour documented in git-repository(5).


add color support to 'tog diff'


add 'got integrate' command


obtain repo format version and commit author name/email from .git/config


fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper)


initial implementation of 'got tag' command


attempt to reject GOT_AUTHOR values without an email address


initial 'got stage -p' implementation


fix and test interaction of rebase/histedit -c and 'got stage'


fix out-of-date check regression; only commit staged files after 'got stage'


reject staging of out-of-date files


handle conflicted files passed to 'got stage'


handle double-staging


make 'got revert' work with staged files


test 'got rm' behaviour on staged files


prevent 'got commit' on branches outside "refs/heads/" (the only exception is the work tree's temporary histedit branch)


if histedit has commits to edit, provide a hint in error message


list of merged paths for rebase and histedit must not be empty


use a dedicated error code for histedit path-prefix error