Commits


make 'got status' ignore symlinks, for now


eliminate redundant stat() calls during status crawl


make 'got update' restore missing files


don't update cached timestamps of already modified files


clear executable bit when updating files if necessary


preserve executable bit on files during checkout and update


fix typo in status code name: GOT_STATUS_MODIFIY -> GOT_STATUS_MODIFY


make 'got update' merge file edits


make 'got diff' show local changes in work tree


fix bug with wrong size comparison in get_file_status()


fix endless loop in got_worktree_open()


make 'got status' work in subdirectories of a work tree


make got_worktree_open() crawl upwards


add missing error check in got_worktree_status()


rename a local variable in got_worktree_status()


make 'got status' detect obstructed files


move all file modification detection code to a single function


add a worktree status API


add support for diffing fileindex against an on-disk directory tree


rename tree-specific fileindex diff callbacks


happy new copyright year


remove redundant goto statement


fix leaks in add_dir_on_disk(), and ensure all parents get created


fix bug where update got confused by sub-sub directories


fix more bugs in the update walk and add more tests