Commits
- Commit:
8f2ca62d67489d1f75ac4eb42590a9b720c66ccc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
62da3196627c41ea9acc5f53e0da9887dca2b82d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
skip ignored directories during 'got status' disk crawl
- Commit:
a769b60bb76783d3bc6637d75907b6ca5d623f40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix a bug where files skipped by 'got update' could not be updated again
ok semarie@
- Commit:
194cb7cb2a0f223daf0baa74a1e85bbbb44c10fd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bug where 'got up -c commit path' deleted unrelated files from work tree
Problem reported by Timo Myyrä
- Commit:
437adc9d5be73b4b89441362ec89de754374a5a6
- From:
- Yang Zhong <yzhong@freebsdfoundation.org>
- Date:
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
- 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