Commits


changes for 0.39


sync distfile list


add got.conf(5) to MAN list in Makefile


document why got.conf(5) will not configure the editor to use


switch function declarations from Korn shell to Bourne/POSIX shell syntax ok stsp


Stop including <sys/syslimits.h> directly. POSIX says the limits defined there are available from <limits.h>, which almost all affected source files already included anyway. ok millert stsp


add 'got histedit' to got.1's list of commands which use EDITOR/VISUAL


fix misplaced comma in got.conf(5) SEE ALSO section


plug memory leaks in error paths while collecting log messages


check for errors from write(2) and close(2) while collecting log messages


add per-worktree got.conf(5) file in the .got directory; ok millert


use plain write() in place of dprintf() with a pre-formatted string step-by-step guidance from millert; ok millert stsp


use modern POSIX timestamp fields in struct stat ok stsp


initialize variable in got-read-gotconfig to fix SIGBUS in free(3) on sparc64


zap trailing tabs


remove unused files; their contents were merged into got-read-gotconfig


add got.conf(5) configuration file ok tracey


use the POSIX standard endian functions and explicitly include <endian.h> ok stsp


do not rely on <zlib.h> to pull in <unistd.h> ok stsp


actually make use of an intermediate variable in cmd_clone() found by tracey's scan-build


in got_object_commit_get_logmsg(), handle log messages which lack '\n' found by tracey's scan-build


exit the loop in got_privsep_recv_tree() upon error found while looking over tracey's scan-build results


plug a memory leak in got_privsep_recv_tree() in error case found while looking over tracey's scan-build results


add -s option to 'got remove' which deletes files in a particular status This makes it easy to deal with files that were deleted from disk by external tooling which modified the work tree. Such files are left in missing (!) status and can now be marked for deletion in bulk via 'got rm -s\! -R .' For consistency, modified (M) files can now be removed with 'got rm -s M' which implies 'got rm -f'. Prompted by feedback from krw@


add -s option to 'got status' which acts as a status code filter Advantages over using grep are that the list of codes is validated against a list of known status codes, and that it is easier to match staged files which can display status codes in one or both of two columns. Prompted by feedback from krw@