thodg/got/lib/fileindex.c

Branch :


Log

Author Commit Date CI Message
fdb730fe 2019-02-06 00:53:28 remove an '#if 0' which was not intended for commit
c7f4312f 2019-02-05 17:46:58 make 'got status' work in subdirectories of a work tree
95e06996 2019-02-05 15:53:09 fix memleak in previous commit
ed83bff7 2019-02-05 15:50:03 we must use dynamic allocation for dirents in diff_fileindex_dir()
e7a2f030 2019-02-05 15:30:23 fix code before declaration
763e1377 2019-02-05 15:25:17 fix an uninitialized variable in diff_fileindex_dir()
f5d3d7af 2019-02-05 15:19:24 use path lists to sort dirent, tree object, and file index entries
fc727cc5 2019-02-05 11:16:33 insert at tail of list in insert_dirent()
554b91b1 2019-02-04 16:55:18 oops, fix endless loop in diff_fileindex_dir(); code was missing somehow
500cd40f 2019-02-04 14:19:29 make fileindex dir diff traverse dirents in git-tree order
b25ae4fa 2019-02-04 12:18:23 ignore top-level .got dir during fileindex dir diff
b1ec3986 2019-02-04 11:51:19 skip "." and ".." in diff_fileindex_dir()
d1f6d47b 2019-02-04 11:17:36 add support for diffing fileindex against an on-disk directory tree
f44ffd20 2019-02-04 10:59:59 rename tree-specific fileindex diff callbacks
62d20534 2019-01-29 00:09:32 remove redundant condition check in cmp_entries()
bad322f2 2019-01-29 00:02:42 make cmp_entries() operate on paths instead of structs
9d2a8e53 2019-01-28 23:55:41 move forward declaration of diff_fileindex_tree() further down
70e2377c 2019-01-28 23:54:46 move definition of cmp_entries() closer to point of use
63de4136 2019-01-28 23:51:52 turns out in_same_subdir() check is mostly redundant
c18d206e 2019-01-28 23:17:39 simplify in_same_subdir()
85987309 2019-01-28 23:15:22 eliminate code duplication in cmp_entries() and in_same_subdir()
99fda3ad 2019-01-28 23:10:32 eliminate redundant strlen() call inside in_same_subdir()
5d79cba5 2019-01-28 23:09:27 eliminate redundant strlen() call in cmp_entries()
6e8d14a3 2019-01-28 23:05:12 eliminate code duplication in cmp_entries()
fd92308e 2019-01-28 22:59:46 invert same subdir check in cmp_entries(); no functional change
f06111e5 2019-01-28 22:57:56 remove unused parameter of in_same_subdir()
5d56da81 2019-01-13 17:15:53 happy new copyright year
21908da4 2019-01-13 13:59:20 fix bug where update got confused by sub-sub directories
bd4792ec 2019-01-13 12:56:35 fix more bugs in the update walk and add more tests
a7f9d64d 2019-01-13 01:52:51 change GOT_INDEX_ENTRY prefix to GOT_FILEIDX
b6d05318 2019-01-13 01:05:23 don't bother with memcpy for hdr in got_fileindex_read()
27d0e5bd 2019-01-12 23:05:44 flush the file index after writing it
a5744d71 2019-01-12 23:00:44 don't bother with memcpy of header when writing the file index
50952927 2019-01-12 21:00:42 fix various issues in new update implementation
27793341 2019-01-12 18:58:04 introduce special error code for a corrupt file index
8da9e5f4 2019-01-12 18:39:19 implement checkout+update as single-pass diff between file index and tree
7a9df742 2019-01-08 23:52:50 replace use of got_pathset in worktree code with RB tree
133d2798 2019-01-08 23:00:56 use RB tree directly instead of a pathset in file index code
6b798c3c 2019-01-08 22:22:53 don't forgot to free file index entries in got_fileindex_free()
b504a804 2019-01-08 22:18:23 switch file index entries from TAILQ to got_pathset
e1ed7f77 2019-01-06 13:47:14 must use safe iteration over file index entries
512f0d0e 2019-01-03 00:57:49 make 'got update' remove files which were deleted
3c5b70f2 2018-12-27 20:23:37 always NUL-terminate paths in write_fileindex_path()
60619907 2018-12-27 19:37:53 fix check for NUL byte in read_fileindex_path()
51514078 2018-12-25 16:18:05 preparation for idempotent checkout: read exisiting file index
fc76cabb 2018-12-25 15:24:16 store base commit of each blob in file index
3fe2daf1 2018-12-24 17:03:21 remove pointless memcopies from fileindex code
7426bbfd 2018-12-24 16:53:03 rename fileindex functions from open/close to alloc/free
9eb6a6b2 2018-12-24 16:48:45 fix byte-swaps in fileindex read code
52a74475 2018-12-24 16:46:13 implement got_fileindex_read() - not yet tested
0a585a0d 2018-03-17 18:13:19 remove GOT_ERR_NO_MEM, we can just use errno in those cases
718b3ab0 2018-03-17 17:50:48 rename the library-internal headers again to a common prefix
23b19d00 2018-03-12 14:08:37 fix worktree test build: remove more unused variables
c34b20a2 2018-03-12 13:06:03 write file index after checking out files
9d31a1d8 2018-03-11 20:39:31 initial implementation of worktree checkout
32cb896c 2018-03-11 14:10:56 rename library-private headers from *_priv.h to *_lib.h
c48c4a9c 2018-03-11 13:59:29 implement fileindex entry open/close