Commits


use mkstemps(3) instead of mkstemp(3) for opening named temporary files Allows 'got commit' to use a ".diff" suffix for temporary diff files. ok op@


reuse a temporary file across commits during got log -p -S suggested by + ok op@


make tmp dir location a compile-time setting and change gotweb's tmp dir We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.


add a basic 'got update' command; does not merge files yet


move got_opentmp* functions to public API; used from tog