lib


Log

Author Commit Date CI Message
Stefan Sperling 7bb0daa1 2018-06-22T01:53:06 add a very simple object cache
Stefan Sperling 835e0dbd 2018-06-21T23:42:37 init output param of got_object_open_as_*
Stefan Sperling 6fad634b 2018-06-21T23:39:50 remove left-over debug code
Stefan Sperling d157810f 2018-06-21T23:36:40 make annotate_line() non-fatal; handles files getting short
Stefan Sperling ed77f2ae 2018-06-21T23:34:04 simplify blame_open(): pcommit is not required
Stefan Sperling 9b94757a 2018-06-21T23:25:48 remove wrong comment
Stefan Sperling 404c43c4 2018-06-21T23:22:57 basic 'got blame' implementation
Stefan Sperling a19581a2 2018-06-21T22:04:27 implement got_object_open_as_blob()
Stefan Sperling 67606321 2018-06-21T21:40:51 fix path length accounting in got_object_open_by_path()
Stefan Sperling db37e2c0 2018-06-21T21:32:13 rename 'entry' to 'te' in got_object_open_by_path()
Stefan Sperling 00530cfb 2018-06-21T21:10:38 don't quit loop too early in got_object_open_by_path()
Stefan Sperling 197aa481 2018-06-21T21:05:01 fix bogus free() in got_object_open_by_path()
Stefan Sperling 1cbc02b6 2018-06-21T21:02:45 fix object type check in got_open_object_as_tree()
Stefan Sperling 35e9ba5d 2018-06-21T19:41:20 introduce got_object_blob_dump_to_file()
Stefan Sperling 776d4d29 2018-06-17T12:34:17 add got_object_open_as_tree() and got_object_open_by_path()
Stefan Sperling f7d20e89 2018-06-17T11:55:08 make got_canonpath() return a got_error
Stefan Sperling e6eac3b8 2018-06-17T11:47:23 introduce got_canonpath()
Stefan Sperling ec798807 2018-06-17T11:37:43 remove unused and broken got_path_segment_count()
Stefan Sperling fe8df4c2 2018-06-16T23:52:47 undo previous; it broke tog(1) with openssl repo
Stefan Sperling 98fdf1e0 2018-06-16T23:50:18 iter_node insertion hack in commit graph shouldn't be needed
Stefan Sperling 4bb494d5 2018-06-16T19:24:46 display UTC commit timestamps in tog(1)
Stefan Sperling 788c352e 2018-06-16T19:18:32 store commit timestamps as 'struct tm' in UTC
Stefan Sperling d1f2edc9 2018-06-13T19:19:55 make 'got log -c' accept a branch name
Stefan Sperling 0ed6ed4c 2018-06-13T18:29:04 got log: allow first-parent traversal with the commit graph
Stefan Sperling a37db869 2018-06-11T22:21:01 remove false statement in comment
Stefan Sperling 58e5f354 2018-06-11T22:19:29 tweak add_node_to_iter_list for clarity; no functional change
Stefan Sperling 19137930 2018-06-11T22:14:50 improve comment
Stefan Sperling 00dfcb92 2018-06-11T22:02:49 handle EILSEQ in tog(1)
Stefan Sperling 72f85f8c 2018-06-11T21:36:08 fix endless loop in commit graph
Stefan Sperling d2312330 2018-06-11T21:33:26 ensure commit graph iterations see all new commits being added
Stefan Sperling 9ba79e04 2018-06-11T18:42:04 commit graph support for tog(1)
Stefan Sperling 31920504 2018-06-11T16:40:08 rename commit graph's iter_candidates to iter_list
Stefan Sperling 6e0c0f9a 2018-06-11T15:52:51 remove got_commit_graph_contains_object() Put equivalent functionality into fetch_commits_up_to() instead.
Stefan Sperling ca2dc7e6 2018-06-11T15:23:52 remove vim .swp files which crept in
Stefan Sperling 1142eae9 2018-06-11T15:22:15 introduce got_commit_graph_fetch_commits_up_to()
Stefan Sperling 6a4c1890 2018-06-11T14:23:42 introduce got_commit_graph_contains_object
Stefan Sperling 069f84d5 2018-06-11T03:31:01 use signed int for max numer of object idset elements
Stefan Sperling be6a1b5a 2018-06-11T03:17:51 promote commit graph's open_commit() helper to public API
Stefan Sperling c4d7a9c4 2018-06-11T03:13:33 replace inline code with call to open_commit() helper
Stefan Sperling 79f35eb3 2018-06-11T03:09:27 rename got_parent_id to got_object_qid; better generic name
Stefan Sperling b43fbaa0 2018-06-11T02:54:29 do not store commits in the commit graph; saves memory
Stefan Sperling d7b08640 2018-06-11T02:27:01 remove unused function
Stefan Sperling 7cd42a1a 2018-06-11T02:17:16 free timezone offset strings in got_object_commit_close()
Stefan Sperling 6c281f94 2018-06-11T02:14:44 show timezone offset in 'got log'
Stefan Sperling ef530fe5 2018-06-11T01:45:42 make commit timestamps work across privsep
Stefan Sperling 4626e416 2018-06-11T01:25:06 parse commit timestamps when opening commits
Stefan Sperling 6e790f45 2018-06-11T00:50:26 move parse_commit_time() to object.c and make public API
Stefan Sperling 4bd3f2bb 2018-06-11T00:27:10 some commits were missing from the commit graph
Stefan Sperling c363871b 2018-06-10T23:47:40 commit graph: don't omit commits with equal timestamps
Stefan Sperling 372ccdbb 2018-06-10T19:01:41 basic commit graph; make 'got log' use it; WIP with known bugs
Stefan Sperling 917bfd05 2018-06-10T14:55:20 add an extra callback argument to got_object_idset_for_each()
Stefan Sperling 45b73774 2018-06-04T22:34:08 rename got_object_idset_get_data() to got_object_idset_get()
Stefan Sperling d5a90aac 2018-06-04T22:32:38 return existing data if existing object id is added to set
Stefan Sperling c6f420bf 2018-06-04T21:50:01 expose number of elements in an object id set
Stefan Sperling 56cca8e5 2018-06-04T20:54:13 use macro instead of literal ".pack"
Stefan Sperling 72fb0363 2018-06-04T20:53:30 use macro instead of literal ".idx"
Stefan Sperling d475dd0d 2018-06-04T20:52:43 use strlcpy instead of strncpy
Stefan Sperling 4738e5f4 2018-06-04T20:46:09 remove unnecessary forward declaration
Stefan Sperling 956a5d5a 2018-06-04T20:33:41 replace unnecessary use of FOREACH_SAFE with FOREACH
Stefan Sperling 54be8251 2018-06-04T20:23:59 add an object id set data structure
Stefan Sperling c8262310 2018-06-04T18:11:39 use local variable to save screen estate in got_packidx_open()
Stefan Sperling 0b48ab23 2018-06-04T18:06:47 wrap overlong lines
Stefan Sperling 6fd11751 2018-06-04T18:02:06 turns out on-disk path of pack file may not match its hash Fixes reading a repo with a pack idx and file dated June 2011, where the filename does not contain the actual packfile SHA1.
Stefan Sperling f5feadcc 2018-06-04T16:22:01 fix bogus free() in error path of cache_pack()
Stefan Sperling 9fc8d6a2 2018-05-20T15:14:11 check fprintf() return values in got_diff_objects_as_commits()
Stefan Sperling 9b697879 2018-05-20T13:03:52 make got_diff_objects_as_commits() require obj2 parameter
Stefan Sperling bacc9935 2018-05-20T13:02:12 show log message above a diff between commits
Stefan Sperling b74c7625 2018-05-20T12:51:27 make git_diff_object helpers error if both objects are NULL
Stefan Sperling cd0acaa7 2018-05-20T12:37:25 allow switching from log view to diff view in tog
Stefan Sperling 511a516b 2018-05-19T16:57:12 move got_opentmp* functions to public API; used from tog
Stefan Sperling 11528a82 2018-05-19T16:28:32 move common diff helpers from got and tog into lib/diff.c
Stefan Sperling 0c048b15 2018-04-27T11:25:46 offsets in pack files should not make us seek beyond EOF
Stefan Sperling b419fc47 2018-04-26T22:17:43 error out if child dies or does not exit with success
Stefan Sperling 8b2180d4 2018-04-26T19:47:10 store fd instead of FILE in struct got_pack to prepare privsep
Stefan Sperling be37c2e6 2018-04-24T22:21:09 don't pass redundant program name to setproctitle()
Stefan Sperling 7918459e 2018-04-24T13:51:11 increase delta recursion limit; was too low for openbsd git repo
Stefan Sperling 730a8aa0 2018-04-24T13:49:33 don't override error codes in diff_modified_blob()
Stefan Sperling 1a6b3ab7 2018-04-24T13:34:24 fix error code in got_object_blob_open()
Stefan Sperling 2967a784 2018-04-24T13:30:34 verify size of blob received from privsep child
Stefan Sperling ff6b18f8 2018-04-24T12:50:21 read blobs through privsep
Stefan Sperling 068fd2bf 2018-04-24T12:27:59 give some privsep functions shorter names
Stefan Sperling 3aca5731 2018-04-24T12:24:57 prepare for blob privsep: use file descriptors instead of FILE
Stefan Sperling 962916a2 2018-04-24T12:19:59 add got_inflate_read_fd() and got_inflate_to_fd()
Stefan Sperling 80f4afe8 2018-04-24T11:47:09 introduce got_opentempfd()
Stefan Sperling 57efb1af 2018-04-24T10:41:15 add open_loose_blob() helper
Stefan Sperling c7254d79 2018-04-24T10:32:10 simplify error handling in got_object_blob_open()
Stefan Sperling 15c8b0e6 2018-04-24T10:23:38 extract blobs to tempfiles instead of reading through zlib
Stefan Sperling 1e51f5b9 2018-04-23T18:59:39 in got_privsep_recv_tree_obj() free tree upon imsg_read() error
Stefan Sperling 052d4dc3 2018-04-23T18:45:48 read tree names from imsg at the right offset
Stefan Sperling e033d803 2018-04-23T18:30:26 read tree objects with privsep
Stefan Sperling 86acc566 2018-04-23T16:39:36 don't transform sha1 to string and back for icommits
Stefan Sperling 366d86ca 2018-04-23T16:28:13 clean up imsg comments and declarations a bit
Stefan Sperling e506bf32 2018-04-23T15:39:51 typo
Stefan Sperling bff6ca00 2018-04-23T15:38:35 read commit objects with privsep
Stefan Sperling 442a3ddc 2018-04-23T09:38:37 try to infer repository path from work tree
Stefan Sperling e3306bd9 2018-04-23T07:20:32 simplify variable names in read_object_header_privsep_child()
Stefan Sperling 302b7dd6 2018-04-23T07:17:21 add read_object_header_privsep_child() helper
Stefan Sperling 5d43e84d 2018-04-23T07:04:30 don't proceed after errors in got_privsep_send_error()
Stefan Sperling fe36cf76 2018-04-23T07:01:14 create recv_one_imsg() helper
Stefan Sperling c4eae628 2018-04-23T06:55:08 create recv_imsg_error helper function