Commits


make 'got status' read .gitignore files; support **/ and /**/ in patterns


getline: fix the return type to ssize_t and small nits


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>.


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


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


check calloc() for NULL return value


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


fix indentation in lib/worktree.c


make 'got status' ignore inaccessible directories (reported by semarie)


fix modified files not shown by 'got status' after committing staged changes


fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper)


fix possible use-after-free in got_worktree_close()


detect and ignore Git submodules


indicate non-existent paths in 'got status' and make 'got diff' error for them


untie cancel callback declaration from the work tree