Commits


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


avoid a NULL deref in diff_fileindex_tree(); found by jj@ with scan-build


plug logmsg memory leak in cmd_import; found by jj@ with scan-build


missing NULL check


plug error leak in got_packidx_init_hdr(); found by jj@ with scan-build


remove unused variable in got_privsep_recv_obj() (patch by Steven McDonald)


fix error return in got_path_find_prog() (patch by Steven McDonald)


change "calloc" to "strdup" for strdup() NULL return value


check calloc() for NULL return value


fix possible memleak in worklist_add() if path is too long


tog: fix cosmetic display issues involving \n and TABs


fix markup errors around user.email in got.1


bump version number


changes for 0.15


do not leak ibuf in error paths of read_*_privsep()


sync dist file list


use author name/email from ~/.gitconfig if GOT_AUTHOR is not set


obtain repo format version and commit author name/email from .git/config


fix indentation in lib/worktree.c