Commits


handle empty trees during 'import' and 'checkout'; spotted by sthen@


Show only whitelisted commit headers in 'got log' Generic way to deal with gpgsig header or extra headers added by some tools. All headers still available via 'got cat' ok stsp@


getline: fix the return type to ssize_t and small nits


direct patch reviews and other discussion away from my private inbox


remove pointless oflag from struct diff3_state


bump version number


CHANGES for 0.16


Replace fgetln() with getline() getline() is, per the latter's OpenBSD man page, safer and more portable than fgetln().


Add missing includes for time() and ctime() These headers were implicitly used on OpenBSD, but building on Linux revealed that <time.h> wasn't included directly. diffreg.c uses ctime(), which additionally needs <sys/types.h>.


Remove return value from diffreg's fetch() The last use of this was removed in 0165cdf03ffac4c24334979832ad27554913d54c over a year ago.


Remove unused variable in diffreg's fetch()


missing error checks in tog(1); found by jj@ with scan-build


missing error check in write_tree(); found by jj@ with scan-build


missing errer check in update_blob(); found by jj@ with scan-build


have got_object_parse_* check for zero-length input