4 years ago Stefan Sperling
prevent rebase with an out-of-date work tree
but warn users about the garbage collection problem
always unlink merged temporary files if an error occurs
use fchmod() instead of chmod() to tweak permissions of a merged temp file
add missing error checks to an openat() call
fix wrong function names in errno error messages
close races with concurrent filesystem modification when reading ignore files
4 years ago Tracey Emery
ok stsp
fix leak in an error path of get_file_status()
fix fstatat() and openat() error checking in get_file_status()
avoid opening the file in get_file_status() if possible
fix wrong function name in errno error message
address some of the file descriptor vs. path races in status callbacks
open files during status crawl in a race-free way, too
prevent the status crawl from racing with paths changing in the filesystem
oops, fix previous
check for fclose() failure in get_file_status()
open the file just once in get_file_status()
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