Commit Briefs
portable: add back sys/queue.h
Now that the handling of including sys/queue.h is better, there's no need to remove those lines from the source. Copy the location of those original sys/queue.h lines from upstream at the same line number, so as to avoid any conflicts in the future.
build with -Wmissing-prototypes
ok stsp@
portable: make UUID includes generic
Move the detection of UUID header files to be included portably. This will have no functional effect until MacOS detection is put in place.
fix 'got status' reporting all directories on NFS mounts as unversioned
Problem found and fix tested by Ted Bullock. ok millert, naddy
add O_CLOEXEC (close-on-exec) to openat(2) calls
suggested by millert ok thomas_adam
do not skip ignored directories in 'got status' if they contain tracked files
Fixes regression introduced by commit 41f061b2f459318f3738f59d7676efccc4beb344 where tracked files inside an ignored directory were reported as missing.
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under linux.
fix bug where 'got up -c commit path' deleted unrelated files from work tree
Problem reported by Timo Myyrä
add fd field to got_worktree, modify got_fileindex_entry_update to use fds
These changes are intended to make got more compatible with FreeBSD's Capsicum. ok stsp
cope with directory entries returned from readdir(3) with type DT_UNKNOWN
Such directory entries need special handling to make our directory traversal code work on filesystems that do not support the d_type optimization. I found this problem because references stored in the refs/ directory were not shown by 'got log' and 'tog log' when a repository is mounted over NFS. helpful feedback + ok millert@