Commits


oops, fix previous


check for fclose() failure in get_file_status()


open the file just once in get_file_status()


add -R option to 'got remove' for recursive deletion ok stsp


there's no need to store a directory path in struct schedule_addition_args ok tracey


Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.


convert tree entries from SIMPLEQ to an array


fold a function call onto a single line


add -R option to 'got add' for recursive addition (patch by Tracey Emery)


when an object id string is bad, include the bad string in the error message


fix staging of multiple files with -p ok semarie


remove lock files, as intended, when reintegrate gets aborted


show base commit hash and omit filenames in conflict markers


show file mode differences when diffing trees


handle xbit-only changes during 'got update'


teach 'got commit' to tweak the executable bit of a file


add 'got integrate' command


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