lib


Log

Author Commit Date CI Message
Stefan Sperling 02c07007 2019-02-10T12:46:14 don't update cached timestamps of already modified files
Stefan Sperling ba8a0d4d 2019-02-10T12:30:06 clear executable bit when updating files if necessary
Stefan Sperling 68ed9ba5 2019-02-10T12:02:52 preserve executable bit on files during checkout and update
Stefan Sperling 276262e8 2019-02-08T15:27:19 fix typo in status code name: GOT_STATUS_MODIFIY -> GOT_STATUS_MODIFY
Stefan Sperling 6353ad76 2019-02-08T15:12:00 make 'got update' merge file edits
Stefan Sperling 57ee5d50 2019-02-08T15:10:49 allow callers of diff3 code to detect merge conflicts
Stefan Sperling a551f215 2019-02-08T14:58:30 diff3: make labels work and fix leaks
Stefan Sperling 5d731149 2019-02-08T13:22:01 initialize temp_files in got_merge_diff3()
Stefan Sperling abc6a33f 2019-02-08T13:20:08 make readin() actually write to its output argument
Stefan Sperling 25d0340b 2019-02-08T12:27:42 get rid of an unused global in diff3 code
Stefan Sperling 5176f942 2019-02-08T12:26:49 get rid of another global in diff3 code (diff output buffer)
Stefan Sperling 9f98de9c 2019-02-08T12:09:28 declare got_merge_diff3()
Stefan Sperling 5a3ad9e0 2019-02-08T12:06:59 wrap overlong long line and fix NULL-deref in merge_diff3()
Stefan Sperling 62f59172 2019-02-08T12:01:51 make diff3_merge() write result to an output file
Stefan Sperling 0ec6f014 2019-02-08T11:58:03 expand stupid argv-style parameters of merge_diff3()
Stefan Sperling b90524b1 2019-02-08T11:55:19 check for errors from increase() in diff3 code
Stefan Sperling dfc4f8fe 2019-02-08T11:51:52 move more globals into diff state struct
Stefan Sperling 0d26ce36 2019-02-08T11:48:50 fix known file descriptor leaks in diff3 code
Stefan Sperling 078e971d 2019-02-08T11:44:53 this is library code; store diff3 state in a struct, not globals
Stefan Sperling c03c6cb3 2019-02-08T11:13:38 make diff3 code compile
Stefan Sperling 537a2366 2019-02-08T10:55:47 remove rcsutil code we won't need, and make the rest compile
Stefan Sperling acb209ee 2019-02-07T13:59:17 restore support for D_NORMAL diffs of regular files
Stefan Sperling af45e626 2019-02-07T11:57:12 get rid of xmalloc and err functions in buf.c
Stefan Sperling f54c4c24 2019-02-07T11:36:16 get rid of xmalloc and a global declaration in worklist code
Stefan Sperling d947271f 2019-02-08T10:47:33 add unmodified rcsutil files from OpenRCS
Stefan Sperling 89fd757a 2019-02-07T11:33:28 add unmodified worklist.c and worlist.h from OpenRCS
Stefan Sperling 74b37681 2019-02-07T11:30:27 add unmodified buf.c, buf.h, and diff3.c from OpenRCS
Stefan Sperling fdb730fe 2019-02-06T00:53:28 remove an '#if 0' which was not intended for commit
Stefan Sperling d1688ce0 2019-02-06T00:08:47 remove a pointless error code
Stefan Sperling b72f483a 2019-02-06T00:04:59 make 'got diff' show local changes in work tree
Stefan Sperling 14e5d4dc 2019-02-05T22:25:42 fix bug with wrong size comparison in get_file_status()
Stefan Sperling d1542a27 2019-02-05T18:24:28 fix endless loop in got_worktree_open()
Stefan Sperling c7f4312f 2019-02-05T17:46:58 make 'got status' work in subdirectories of a work tree
Stefan Sperling 247140b2 2019-02-05T17:15:54 make got_worktree_open() crawl upwards
Stefan Sperling c513d110 2019-02-05T17:15:06 add missing error check in got_worktree_status()
Stefan Sperling ee645855 2019-02-05T16:33:30 stop checking for a worktree in open_repo()
Stefan Sperling d43a8a88 2019-02-05T16:22:04 rename a local variable in got_worktree_status()
Stefan Sperling 0dbc2271 2019-02-05T16:16:13 make 'got status' detect obstructed files
Stefan Sperling bf96b38c 2019-02-05T16:09:58 move all file modification detection code to a single function
Stefan Sperling 95e06996 2019-02-05T15:53:09 fix memleak in previous commit
Stefan Sperling ed83bff7 2019-02-05T15:50:03 we must use dynamic allocation for dirents in diff_fileindex_dir()
Stefan Sperling e7a2f030 2019-02-05T15:30:23 fix code before declaration
Stefan Sperling 763e1377 2019-02-05T15:25:17 fix an uninitialized variable in diff_fileindex_dir()
Stefan Sperling f5d3d7af 2019-02-05T15:19:24 use path lists to sort dirent, tree object, and file index entries
Stefan Sperling 3d8df59c 2019-02-05T14:49:54 add a caller-provided data pointer to path list elements
Stefan Sperling 7a3c76f5 2019-02-05T14:41:20 fix insert_ref() to provide ordering similar to path lists
Stefan Sperling 7e5c804b 2019-02-05T14:20:14 allow for detecting path duplicates with got_pathlist_insert()
Stefan Sperling e08cc72d 2019-02-05T14:12:38 add a pathlist API
Stefan Sperling fc727cc5 2019-02-05T11:16:33 insert at tail of list in insert_dirent()
Stefan Sperling 3ca16530 2019-02-04T18:48:07 append to tail of reflist, not to the head of the list
Stefan Sperling 554b91b1 2019-02-04T16:55:18 oops, fix endless loop in diff_fileindex_dir(); code was missing somehow
Stefan Sperling f8d1f275 2019-02-04T14:46:17 add a worktree status API
Stefan Sperling 500cd40f 2019-02-04T14:19:29 make fileindex dir diff traverse dirents in git-tree order
Stefan Sperling b25ae4fa 2019-02-04T12:18:23 ignore top-level .got dir during fileindex dir diff
Stefan Sperling b1ec3986 2019-02-04T11:51:19 skip "." and ".." in diff_fileindex_dir()
Stefan Sperling d1f6d47b 2019-02-04T11:17:36 add support for diffing fileindex against an on-disk directory tree
Stefan Sperling f44ffd20 2019-02-04T10:59:59 rename tree-specific fileindex diff callbacks
Stefan Sperling e397b6db 2019-02-04T10:48:23 make got_ref_list() return a sorted list
Stefan Sperling 29b5c214 2019-02-04T10:37:07 on-disk refs must take precedence over packed-refs
Stefan Sperling 1e37702e 2019-02-04T10:24:14 internally represent a non-existent ref as NULL rather than as error
Stefan Sperling a04f49d2 2019-02-04T09:54:40 include non-packed refs in results from got_ref_list()
Stefan Sperling 76b4ead2 2019-02-03T17:15:26 add missing error checks in got_ref_list()
Stefan Sperling 30c0868d 2019-02-03T17:08:03 improve error codes in lib/reference.c
Stefan Sperling 2aa0475c 2019-02-03T17:00:40 add got_error_not_ref()
Stefan Sperling 199a4027 2019-02-02T15:00:28 make 'got log' show packed refs and HEAD ref (pther refs not shown yet)
Stefan Sperling e0e55b50 2019-02-01T22:46:32 Support tags in Linux git repo which do not carry name of tagger.
Stefan Sperling 0bd18d37 2019-02-01T22:16:47 add potentially useful helpers for tag objects and refs
Stefan Sperling 532920c8 2019-02-01T22:02:43 actually return once parse_packed_ref_line() succeeds
Stefan Sperling 0dec1cc0 2019-02-01T21:42:23 parse packed refs in a single pass over packed-refs file
Stefan Sperling c5f754cc 2019-02-01T21:30:38 optimize code path for lookup of well-known refs
Stefan Sperling bd376bb3 2019-02-01T21:13:57 handle absolute refs being passed to open_packed_ref()
Stefan Sperling fb79db15 2019-02-01T21:01:58 add read support for packed refs
Stefan Sperling 62d20534 2019-01-29T00:09:32 remove redundant condition check in cmp_entries()
Stefan Sperling bad322f2 2019-01-29T00:02:42 make cmp_entries() operate on paths instead of structs
Stefan Sperling 9d2a8e53 2019-01-28T23:55:41 move forward declaration of diff_fileindex_tree() further down
Stefan Sperling 70e2377c 2019-01-28T23:54:46 move definition of cmp_entries() closer to point of use
Stefan Sperling 63de4136 2019-01-28T23:51:52 turns out in_same_subdir() check is mostly redundant
Stefan Sperling c18d206e 2019-01-28T23:17:39 simplify in_same_subdir()
Stefan Sperling 85987309 2019-01-28T23:15:22 eliminate code duplication in cmp_entries() and in_same_subdir()
Stefan Sperling 99fda3ad 2019-01-28T23:10:32 eliminate redundant strlen() call inside in_same_subdir()
Stefan Sperling 5d79cba5 2019-01-28T23:09:27 eliminate redundant strlen() call in cmp_entries()
Stefan Sperling 6e8d14a3 2019-01-28T23:05:12 eliminate code duplication in cmp_entries()
Stefan Sperling fd92308e 2019-01-28T22:59:46 invert same subdir check in cmp_entries(); no functional change
Stefan Sperling f06111e5 2019-01-28T22:57:56 remove unused parameter of in_same_subdir()
Stefan Sperling 5d56da81 2019-01-13T17:15:53 happy new copyright year
Stefan Sperling 85a703fa 2019-01-13T17:04:03 got_pack_get_object_size() -> got_pack_get_max_delta_object_size()
Stefan Sperling 14bbd1f0 2019-01-13T16:59:16 remove redundant goto statement
Stefan Sperling e650241d 2019-01-13T16:00:55 remove unused field from struct got_blob_object
Stefan Sperling ac544f8c 2019-01-13T15:58:39 pass smallish blobs directly via imsg buffer
Stefan Sperling c65fcef2 2019-01-13T14:07:17 fix leaks in add_dir_on_disk(), and ensure all parents get created
Stefan Sperling 21908da4 2019-01-13T13:59:20 fix bug where update got confused by sub-sub directories
Stefan Sperling bd4792ec 2019-01-13T12:56:35 fix more bugs in the update walk and add more tests
Stefan Sperling a7f9d64d 2019-01-13T01:52:51 change GOT_INDEX_ENTRY prefix to GOT_FILEIDX
Stefan Sperling c97665ae 2019-01-13T01:43:17 tolerate missing files in remove_ondisk_file()
Stefan Sperling 5f9fef37 2019-01-13T01:42:50 avoid redundant file index additions in install_blob()
Stefan Sperling b6d05318 2019-01-13T01:05:23 don't bother with memcpy for hdr in got_fileindex_read()
Stefan Sperling 27d0e5bd 2019-01-12T23:05:44 flush the file index after writing it
Stefan Sperling a5744d71 2019-01-12T23:00:44 don't bother with memcpy of header when writing the file index
Stefan Sperling cf61d818 2019-01-12T22:38:58 allow recovery of a bad file index by removing it and updating
Stefan Sperling 4a1ddfc2 2019-01-12T22:15:58 fix bug where update forgot to create a parent directory