Commits


fix a use-after-free in get_changed_paths() in got and tog Once the parent commit is closed the tree_id1 pointer is no longer valid, but the pointer was still being used. Make a deep copy to fix this issue.


add 'got fetch -X' option for deleting references created by 'got fetch'


make got_ref_delete() report symbolic references as intended


in delete_ref(), only print progress output after deletion has succeeded


align messages printed by 'got fetch -d' with 'got ref -d' and -X options


make 'got ref -d' print reference name and value like the new -X options do


new -X option for removing backups created by got rebase and got histedit ok semarie


Make 'got add' always require the -I option in order to add ignored files.


mention 'gotadmin cleanup' wherever Git's garbage collector is mentioned


switch from SIMPLEQ to equivalent STAILQ macros The singly-linked tail queue macros were added to OpenBSD 6.9 and are more widely available on other systems. ok stsp


new -I option for 'got status' to show files which match an ignore pattern


check for close(2) error in got_repo_close() and propagate errors up ok tracey


diff: reduce duplicate code Condense error checking to reduce a future diff moving those lines around; this pattern is already used in other parts of the tree. fine stsp ok tracey


rebase/histedit -l: error out if no backups for the requested branch exist


fix strftime return value check; found by jrick