Commit Briefs
tog: implement global 'S' key map to switch split mode
If in a vertical (horizontal) split, switch to horizontal (vertical), and make new split mode persist. ok op@
get rid of unneeded recv_imsg_error calls
got_privsep_recv_imsg users don't need to bother to look whether the imsg type is GOT_IMSG_ERROR because got_privsep_recv_imsg already takes care of that and turns GOT_IMSG_ERROR into `struct got_error's automatically. ok stsp@
portable: delta_cache: remove includes
Remove those includes which are searched for portably.
fix buf_alloca error handling
Left-over from how OpenRCS/OpenCVS do error handling. OK stsp@
regress: use bs=1M for dd, not bs=1m; fixes -portable test failure on ubuntu
GNU dd only accepts upper-case letters for the size units.
add signer_id option to got.conf(5)
Setting this option will cause 'got tag' to sign all created tags using the SSH key, unless overridden by the -s flag. ok stsp@
portable: regress: rework date command for Ubuntu
Don't rely on '-r' for date as it's not consistent across linuxses. Instead, expand the variables required and use '-d'. OK thomas@
portable: regress: fix fetch compilation
Add missing files for testing fetch.
portable: maintscripts: reverse cherrypicks
When cherry-picking commits from main, do so in reverse order so they match more linearly with main.
move 'got init' command to 'gotadmin init'
This functionality is better suited for gotadmin because it is technically a server-side repository operation when we consider the 'got' tool as the client-side tool. I have plans to move 'got import' into gotadmin as well. ok op@
regress test SSH key revocations
ok stsp@
portable: maintscript: add header detection
Add detection for headers which are included portably, and remove them.
fix potential type mismatch between format specifier and argument
Cast printf argument of type time_t to long long to match the %lld format specifier on platforms where this might not be the case.
portable: add maintscripts
This introduces an area for helper scripts when dealing with -portable syncing from upstream, releases, etc. See the README.md file for further information.