Commits


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


ensure that old commits remain referenced after rebase and histedit Create automatic "backup" references which ensure that objects from the pre-rebase or pre-histedit state remain in the repository. A new -l option for 'got rebase' and 'got histedit' lists old commits. This makes it easier to recover from botched rebase or histedit operations. Removal of such objects currently requires got ref -d and git-gc. This will be made more convenient in the future. testing and ok jrick