Commits
- Commit:
867630bb8fa7066172802243ca8abacb1e9aab6a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Sleep for one nanosecond after syncing the file index to disk
Ensures that files modified after got exits have a different timestamp
from the one which was recorded in the file index.
Previously, 'got status' did not always detect such files as modified.
Problem reported by Steven McDonald.
- Commit:
bb51a5b4af467a42569e19cbeeeeccbb44d946f0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -E option to 'got checkout' allowing use of a non-empty work tree path
needed by and ok kn@
- Commit:
5aa813935b6489921083da5ed9459a1cfb8a03e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add copyright year for files already touched in 2020
- Commit:
e51d7b55a3d7fcd307ad6f65fa793a52a24dd697
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent rebase with an out-of-date work tree
- Commit:
7f47418fd49bc98fe4570c139767c057cd066409
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got checkout' and 'got update' work with read-only repositories
but warn users about the garbage collection problem
- Commit:
fdcb7dafaba4486c7faede6ba199e2024b269b1f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
always unlink merged temporary files if an error occurs
- Commit:
2ad902c0cee1b56de28385c8f1cd6c2d70131a82
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use fchmod() instead of chmod() to tweak permissions of a merged temp file
- Commit:
32d2fb48346b752db5098ea03c9c1800863bc71b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing error checks to an openat() call
- Commit:
605229825077e78948f4223e88244a9b6e1797e4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong function names in errno error messages
- Commit:
886cec1790573db31b16b89ed63a5608ea108bec
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
close races with concurrent filesystem modification when reading ignore files
- Commit:
70e3e7f5a129106c0c31204233b35dfdf0d6a990
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add -k option to 'got remove' to keep files on disk
ok stsp
- Commit:
ab0d43616704b463cc02e5c8ea982dcf10f83f4b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix leak in an error path of get_file_status()
- Commit:
882ef1b90ea13c3e6642cdd8af148fb08bbeda02
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix fstatat() and openat() error checking in get_file_status()
- Commit:
3d35a492f8fdcff7a6389058d0fcb635ea34a355
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid opening the file in get_file_status() if possible
- Commit:
82223ffcc5f64af285d0eac132024ef478ca6bd2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix wrong function name in errno error message
- Commit:
12463d8bf337d3eb12e6cd73d5bd1f25c278e571
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
address some of the file descriptor vs. path races in status callbacks
- Commit:
7f91a1339fbcdc302e1cd799d2c31ac7acc52bb7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
open files during status crawl in a race-free way, too
- Commit:
6fc93f379e4f736797334532691d298244b2b014
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent the status crawl from racing with paths changing in the filesystem
- Commit:
f4d199c99e2463414ab27d393fa98378de352bad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
oops, fix previous
- Commit:
43ff8261e1c6fdb609986add011ed0313f6eabe6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for fclose() failure in get_file_status()
- Commit:
1338848fa6ee90aee6431e1085445fa4953b036a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
open the file just once in get_file_status()
- Commit:
f2a9dc41d851ff2d575b08c2766583ff11cdd7af
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add -R option to 'got remove' for recursive deletion
ok stsp
- Commit:
dbb83fbd81591d01db580caf15e585de893f0b9b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
there's no need to store a directory path in struct schedule_addition_args
ok tracey
- Commit:
022fae89eee20051d352d3dc2b8c64486bdafe93
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.
- Commit:
56e0773df7e12fc69c1f6f9d171c93fd78a13d0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert tree entries from SIMPLEQ to an array