Commits
- Commit:
0823ffc2f6c509dbcedfb15d0d1011a253b45ef9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use modern POSIX timestamp fields in struct stat
ok stsp
- Commit:
aa9ad2764a70adc7378ea2b701d08f9dd7c8dd7d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix use of uninitialized variable in got_fileindex_entry_update()
- Commit:
0aeb8099a04ea427eff4a7b6cb52b1cba62a87b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
set a staged file type and handle it separately from the on-disk file type
- Commit:
cf34e6e70511929983a7a035e946966e8a833b8f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mark functions which are not exposed to other files as static
- Commit:
4723f050ac989935cd1dafa2a20f2eb40742b689
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
more fixes for setting/getting file index entry filetype and permissions
- Commit:
6131ab45b4ac2e03447e28d41d92c53ecfe632e3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove pointless error checking in got_fileindex_entry_filetype_set()
- Commit:
984c073dfee89f661d050e8a4fd10fc0e858af7d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add getter/setter for staged file index entry filetype
- Commit:
f5f1f9c21f2e0723f0a8178f620b7f43724e6b60
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle on-disk file index entry filetypes properly
- Commit:
2e1fa22206f9dbaca888c89bb9938782cbb4c5a1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
give bad symlinks a dedicated file type in the file index
- Commit:
ef8d60312a7ca5c60477010ceec1137e05985a2e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
keep file index entry permission bits clear for symlinks
- Commit:
20ccae39452cdf85f57023c8a7f029b0545adfa7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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@
- Commit:
3143d852d788e42c45a61252acb935a698efed2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix ignores when a path is passed to 'got status'
Problem reported by semarie, who also provided initial regression test code.
ok semarie
- Commit:
0553429dd6a160e5615f7c7db34647a43c8ba157
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix symlink check in got_fileindex_entry_update()
- Commit:
8bd8568cf977e484d823877e3bff4e426597c513
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove file index entries from RB tree upon flush to disk
Fixes a file index corruption problem with 'got rebase' found by tracey.
ok tracey
- Commit:
3969253a0514c1e4c685eb413d74cd89f40ecaf0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove implicit entry update from got_fileindex_entry_alloc(); just alloc
- Commit:
71ec7eacbb0fd56955c10494dee4728903934ccf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
kill left-over debug code snippet from a46b9f33fb3018765180eb67cc954d863a5cd525
- Commit:
a46b9f33fb3018765180eb67cc954d863a5cd525
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug where 'got revert -R' failed on added subtrees
The command could fail with "got: no such entry found in tree".
This problem is reproduced by the regression test added in this commit.
This happened because file index entries were processed in the wrong
order by diff_fileindex_dir(). To fix this, keep removed entries in
the RB tree and skip them when the file index is written out, rather
than removing entries from the RB tree immediately causing side-effects
for RB_NEXT and friends.
- Commit:
3dcf3e7438f8c2aa3c8cb3855f0f52718d0c6c3b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rewind directory file pointer before re-opening the directory
- Commit:
965988c576b566cf19bea08f244a05fcd811e9dc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug memory leak introduced in commit 6fc93f379e4f736797334532691d298244b2b014
- Commit:
22902794fc6f1f4d5bf6b01fdc20e783fb86af97
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
this lseek() call in read_dirlist() isn't needed
- Commit:
7f91a1339fbcdc302e1cd799d2c31ac7acc52bb7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
open files during status crawl in a race-free way, too
- Commit:
ae8965b97df6dc795f14d7b60a326843a5bfbea0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add missing fdopendir() error check in read_dirlist()
- Commit:
6fc93f379e4f736797334532691d298244b2b014
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent the status crawl from racing with paths changing in the filesystem
- Commit:
56e0773df7e12fc69c1f6f9d171c93fd78a13d0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert tree entries from SIMPLEQ to an array
- Commit:
6ced7ba8b0a1cecd667313e4e45f51be404f97c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid a NULL deref in diff_fileindex_tree(); found by jj@ with scan-build