lib


Log

Author Commit Date CI Message
Stefan Sperling 19332e6d 2019-05-13T11:04:22 avoid undefined behaviour (comparison with string literal)
Stefan Sperling a9833bc9 2019-05-13T10:56:15 add got_commit_graph_find_youngest_common_ancestor()
joshua stein 33ad4cbe 2019-05-12T19:53:17 implement spawning an editor to collect a commit message bails on empty messages, trims leading and trailing newlines this currently disables the unveil in the commit process because it's not compatible with spawning the editor also prevent commits when there are no changes
Stefan Sperling f5c58ad1 2019-05-12T18:05:59 fix leftover lockfiles from parse_ref_file()
Stefan Sperling a875589a 2019-05-12T17:55:03 fix locking of packed ref file in got_ref_open()
Stefan Sperling 0885ce8f 2019-05-12T17:48:22 handle well-known refs more obviously in got_ref_open()
Stefan Sperling 5b575c25 2019-05-12T17:45:10 don't hide errors in got_ref_open()
Stefan Sperling 7f2a8dc2 2019-05-12T15:33:37 plug fd leak in got_path_dir_is_empty()
Stefan Sperling 280f921b 2019-05-12T15:30:43 heed API namespace: got_dir_is_empty -> got_path_dir_is_empty
joshua stein 3c45a30a 2019-05-12T14:56:24 checkout: if worktree path exists and is empty, suppress mkdir failure
Stefan Sperling 2f17228e 2019-05-11T21:18:39 lock branch reference file during 'got commit' to prevent a race
Stefan Sperling 03df25b3 2019-05-11T19:13:10 disallow directories with 'got add'; add a TODO item for them
Stefan Sperling 1dd54920 2019-05-11T18:50:57 open the file index just once when adding multiple files
joshua stein 2af4a041 2019-05-11T16:21:20 got_error_set_errno: take a char arg to pass to got_error_prefix_errno $> got rm a got: : No such file or directory becomes $> got rm a got: /path/to/a: No such file or directory
Stefan Sperling e009fd0f 2019-05-11T14:30:02 identify an error source correctly
joshua stein 656b1f76 2019-05-11T14:26:12 while (1) -> for (;;)
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
joshua stein 48b8b0eb 2019-05-11T10:40:57 error: introduce got_error_prefix_errno for better errno messages
joshua stein 10689f3a 2019-05-11T10:30:34 error: fix definition of got_error_from_errno
Stefan Sperling 72151b04 2019-05-11T09:37:08 introduce got_path_strip_trailing_slashes()
Stefan Sperling 324d37e7 2019-05-11T09:14:30 make got path APIs available to library consumers
Stefan Sperling 0dd5271b 2019-05-10T19:57:25 plug fd leak in got_pack_stop_privsep_child()
Stefan Sperling 2cb49fa8 2019-05-10T19:41:58 revert eb73a30f7effc51c1cfee2864102635e3659f87a Not waiting for children can make us blow the fork() ulimit with lingering zombies; the Ctrl-C issue will need some other fix.
Stefan Sperling df613bb4 2019-05-10T19:21:28 fork less pack file readers to avoid running into ulimits
Stefan Sperling 4229330b 2019-05-10T18:44:42 fix allocation size in alloc_added_blob_tree_entry()
Stefan Sperling 8c4eabf2 2019-05-10T18:40:10 redo: fix tree_entry_dup error path
Stefan Sperling 83a7ae6d 2019-05-10T18:38:59 revert previous
Stefan Sperling 3ffe981f 2019-05-10T18:38:23 fix tree_entry_dup error path
Stefan Sperling 0f63689d 2019-05-10T18:20:01 remove unnecessary allocation in match_ct_parent_path()
Stefan Sperling ce0de6b6 2019-05-10T18:16:20 fix memleak in write_tree()
Stefan Sperling 797eca75 2019-05-10T18:16:03 remove dead code
Stefan Sperling 9ba0479c 2019-05-10T15:09:13 fix memleaks in write_tree()
Stefan Sperling 36a38700 2019-05-10T14:53:03 stop caching head ref's value in struct got_worktree; may become stale
Stefan Sperling 1251a9e5 2019-05-10T13:06:00 note potential problem in the existing out-of-dateness check
Stefan Sperling d56d26ce 2019-05-10T11:24:37 move out-of-dateness check to a helper function
Stefan Sperling 7200e87c 2019-05-10T11:19:49 handle blobs deleted in HEAD correctly in commit out-of-date check
Stefan Sperling 819f385b 2019-05-10T11:16:09 ensure that commits use intended base blobs for changes
Stefan Sperling e75eb4da 2019-05-10T10:55:08 rename field in 'struct commitable'
Stefan Sperling 588edf97 2019-05-10T10:52:00 commit against the HEAD commit, not the work tree's base commit
Stefan Sperling 44d03001 2019-05-09T17:07:33 don't traverse into unmodified subtrees during commit
Stefan Sperling 8eecaf36 2019-05-09T16:18:14 don't close a tree in the wrong place; fixes a bus error crash
Stefan Sperling bc70eb79 2019-05-09T15:45:21 fix bug in concurrent commit check and add another commit test
Stefan Sperling 09f5bd90 2019-05-09T15:33:57 try to detect concurrent commits; not perfect yet (see comments)
Stefan Sperling 768aea60 2019-05-09T14:41:50 fix perms in committed tree entries
Stefan Sperling f2c16586 2019-05-09T13:50:52 update HEAD reference after commit
Stefan Sperling b249b824 2019-05-09T13:47:59 add APIs to change references
Stefan Sperling ebf99748 2019-05-09T13:22:33 update fileindex after commit
Stefan Sperling baa7dcfa 2019-05-08T20:00:37 don't visit added subtrees reundantly
Stefan Sperling afa376bf 2019-05-08T19:18:45 report commit item status
Stefan Sperling 9d40349a 2019-05-08T18:49:54 add TODO comments
Stefan Sperling de18fc63 2019-05-08T18:37:37 write commit objects
Stefan Sperling 2f51b5b3 2019-05-08T17:02:01 handle added subtrees during commit
Stefan Sperling 036813ee 2019-05-08T12:17:01 more progress on commits: write trees recursively
Stefan Sperling eb4304b9 2019-05-08T12:16:03 fix problems with "/" in two path helper functions
Stefan Sperling ca2503ea 2019-05-07T22:04:43 writing the lowest level of trees works now
Stefan Sperling cf745477 2019-05-07T21:00:24 whitespace
Stefan Sperling 51c32763 2019-05-07T20:58:58 fix bogus sha1 calculation in got_object_tree_create()
Stefan Sperling 69960a46 2019-05-07T20:38:42 don't try to get dirname of a basename
Stefan Sperling ef2a1e11 2019-05-07T20:30:05 fix another segfault
Stefan Sperling c42269f6 2019-05-07T20:29:19 fix a segfault
Stefan Sperling 0b5cc0d6 2019-05-07T20:24:47 more work on getting parent trees of commitables written
Stefan Sperling ed175427 2019-05-07T19:53:44 more progress on generating new tree entries
Stefan Sperling 24519714 2019-05-07T12:01:17 collect tree ids for committables
Stefan Sperling a7055788 2019-05-07T11:45:10 pass the right path to got_object_blob_create()
Stefan Sperling cf066bf8 2019-05-07T11:42:54 create blobs
Stefan Sperling 7a10a625 2019-05-07T11:29:45 open base commit tree correctly
Stefan Sperling 675c7539 2019-05-07T11:28:15 do status walk before opening base commit/tree
Stefan Sperling a855e33f 2019-05-07T11:25:52 add a comment marking where to collect the log message
Stefan Sperling c4296144 2019-05-07T10:17:36 WIP commit implementation
Stefan Sperling 76f564d5 2019-04-14T13:01:53 rename create_loose_object() to create_object_file()
Stefan Sperling 4be2a0b4 2019-04-14T12:56:58 eliminate extra memcpy in got_object_{blob,tree}_create()
Stefan Sperling f91abf81 2019-04-14T12:52:43 introduce got_object_tree_create()
Stefan Sperling 8914529d 2019-04-13T18:55:07 make parse_tree_entry() require a mode field
Stefan Sperling fae40e36 2019-04-13T18:47:15 bump copyright year in object_parse.c
Stefan Sperling dedbbd9d 2019-04-13T18:43:31 fix more unbound string searches in object_parse.c
Stefan Sperling c7c59d3c 2019-04-13T18:38:29 remove unused variable in got_object_parse_header()
Stefan Sperling 9ef4ac16 2019-04-13T18:35:06 don't use unbound strlen() while parsing objects
Stefan Sperling c6f826b4 2019-04-13T18:08:40 better variable names in create_loose_object()
Stefan Sperling ac1c5662 2019-04-13T18:05:41 move code for creating loose objects to a separate function
Stefan Sperling 4e4a7005 2019-04-13T16:29:53 flush compressed output in got_deflate_read()
Stefan Sperling 51130c02 2019-04-13T16:29:24 create blob's parent dir if missing in got_object_blob_create()
Stefan Sperling f970685c 2019-04-13T16:11:37 flip order of arguments to got_object_blob_create()
Stefan Sperling 57b6f99a 2019-04-13T16:06:37 handle non-existent reference in got_ref_resolve() error path
Stefan Sperling f488e73c 2019-04-11T22:01:15 fix objpath memleak in got_object_blob_create()
Stefan Sperling 81984c6b 2019-04-11T21:59:42 blob content file doesn't need a path in got_object_blob_create()
Stefan Sperling ffb286fd 2019-04-11T21:54:38 store header length in variable in got_object_blob_create()
Stefan Sperling f16c2465 2019-04-11T21:53:11 don't forget to write header in got_object_blob_create()
Stefan Sperling a14a8cf6 2019-04-11T21:51:15 eliminate unnecessary fdopen() in got_object_blob_create()
Stefan Sperling 45d61019 2019-04-11T14:34:48 avoid double file close in got_object_blob_create()
Stefan Sperling 44edeea7 2019-04-11T14:32:01 introduce got_object_blob_create()
Stefan Sperling 90bdb554 2019-04-11T14:30:40 expose a static helper function as got_object_get_path()
Stefan Sperling 3eb93f3c 2019-04-11T13:39:11 inline open(2) flags in got_lockfile_lock()
Stefan Sperling a5b57ccf 2019-04-11T13:37:50 omit unused mode argument to open(2)
Stefan Sperling 0584f854 2019-04-06T08:03:09 implement cancellation support for diff and status operations
Stefan Sperling b7011c59 2019-04-06T06:05:44 fix double-free in error path of open_blob()
Stefan Sperling 573463cc 2019-04-06T05:31:33 init output parameter in walk_dir()
Stefan Sperling 14ae1db5 2019-04-06T05:21:11 plug memory leaks in diff_fileindex_dir()
Stefan Sperling c4cdcb68 2019-04-03T16:17:53 add support for partial updates, which affect specific paths only
Stefan Sperling a129376b 2019-03-29T00:04:52 add initial implementation of 'got revert'
Stefan Sperling fc6346c4 2019-03-27T12:51:30 don't leave file as unversioned in case of wt edit vs repo rm