lib


Log

Author Commit Date CI Message
Stefan Sperling 76911fd2 2020-03-19T23:02:36 allow 'got fetch' to operate on a non-bare git repository
Stefan Sperling f1c6967f 2020-03-19T22:43:44 fix chopped display of git-server's progress output
Stefan Sperling 7848a0e1 2020-03-19T16:57:27 implement 'got fetch'
Stefan Sperling 5a489642 2020-03-19T16:56:51 initialize pack file size output paramter of got_privsep_recv_fetch_progress()
Stefan Sperling 9a682fbe 2020-03-19T14:43:38 add support for Git's SCP style URLs to got_fetch_parse_uri()
Stefan Sperling f68a7890 2020-03-19T09:07:46 make got_ref_list() work on a fresh repository created with got_repo_init()
Stefan Sperling 92a89269 2020-03-18T17:46:28 remove an unused file
Stefan Sperling 68999b92 2020-03-18T16:13:48 allow controlling verbosity of 'got clone' with -q and -v options
Stefan Sperling 3af5bc7c 2020-03-18T16:13:48 do not allow passing arbitrary options to SSH
Stefan Sperling 967f7d1f 2020-03-18T16:13:48 remove unused constants
Stefan Sperling d582f26c 2020-03-18T16:13:48 write large objects to disk when resolving deltas; raise in-mem delta threshold
Stefan Sperling b46f3e71 2020-03-18T16:13:47 create a git config file in newly cloned repositories
Stefan Sperling ee448f5f 2020-03-18T16:13:47 apply unveil(2) to 'got clone'
Stefan Sperling a117fd10 2020-03-18T16:13:46 make addrinfo error messages more obvious
Stefan Sperling 4788f1ce 2020-03-18T16:13:46 extract large objects to a temporary file in got-index-pack
Stefan Sperling f826addf 2020-03-18T16:13:45 use a dedicated imsg for sending the pack fetch output file descriptor
Stefan Sperling 73ab1060 2020-03-18T16:13:45 use a dedicated imsg for sending the pack index output file descriptor
Stefan Sperling 12491971 2020-03-18T16:13:45 show path to temporary pack file in argv of got-fetch-pack and got-index-pack
Stefan Sperling 2e5a6fad 2020-03-18T16:13:44 add mmap support to got-index-pack
Stefan Sperling 55fdd257 2020-03-18T16:13:43 do not buffer more data than necessary in got_inflate_to_mem_fd()
Stefan Sperling 5eddcd60 2020-03-18T16:13:42 fix endless loop from 9c2cfea6 if decompressed data exceeds buffer size
Stefan Sperling 1e87a3c3 2020-03-18T16:13:42 avoid re-reading the entirety of an object's data to calculate the CRC
Stefan Sperling 668a20f6 2020-03-18T16:13:41 rewritten got-index-pack; sorry about the monster commit
Stefan Sperling 2decf4c6 2020-03-18T16:13:41 make output buffer optional for got_inflate_to_mem{,_fd}()
Stefan Sperling 3ab5e33c 2020-03-18T16:13:41 add optional 'consumed' output parameter to got_inflate_to_mem_fd()
Stefan Sperling baa9fea0 2020-03-18T16:11:33 send indexing progress via an imsg
Stefan Sperling 85e8591f 2020-03-18T16:11:32 in got_fetch_pack, use a separate set of variables for fetching and indexing
Stefan Sperling 849f7557 2020-03-18T16:11:32 check pack file hash in the main process
Stefan Sperling d2cdc636 2020-03-18T16:11:32 send pack file download progress information over imsg
Stefan Sperling ea7396b9 2020-03-18T16:11:32 rename imsg FETCH_PROGRESS to FETCH_REF
Stefan Sperling 531c3985 2020-03-18T16:11:32 add support for git protocol sidebands and display server progress
Stefan Sperling 33501562 2020-03-18T16:11:30 prepare for providing refs we already have in fetch request imsg currently we always send and expect an empty list
Stefan Sperling 6fb3a497 2020-03-18T16:11:29 add optional 'consumed' output parameter to got_inflate_to_mem()
Stefan Sperling 4b570209 2020-03-18T16:11:28 revert a change to inflate_read() from Ori's patch; it breaks got-read-blob
Stefan Sperling ceee4c0f 2020-03-18T16:11:28 remove unused arguments from got_fetch_pack()
Stefan Sperling 20eb36d0 2020-03-18T16:11:27 attempt to connect to a server before creating a local repo
Stefan Sperling 66cba96f 2020-03-18T16:11:27 use GOT_OBJECTS_PACK_DIR instead of variants of the same which contain typos
Stefan Sperling d9b4d0c0 2020-03-18T16:11:27 make got_fetch() provide reference info to callers and set refs in cmd_clone()
Stefan Sperling 07e52fce 2020-03-18T16:11:27 rename got_fetch() to got_fetch_pack()
Stefan Sperling bb64b798 2020-03-18T16:11:26 have got_fetch() require an open got_repository to be passed in
Stefan Sperling 09838ffc 2020-03-18T16:11:26 make got_fetch() expect URI information in parsed form
Stefan Sperling 82ebf666 2020-03-18T16:10:34 tweak parse_uri() function, declare it as public API, and add a test for it
Stefan Sperling ee61b6d3 2020-03-18T16:10:33 make 'got clone' create references; cloned repositories are now usable
Stefan Sperling 8e278d17 2020-03-18T16:10:33 plug leaks in error paths of got_fetch()
Stefan Sperling d45e6863 2020-03-18T16:10:33 fix typo in comment
Stefan Sperling abe0f35f 2020-03-18T16:10:33 parse symrefs from server capabilities and transmit them over imsg
Stefan Sperling 4312a498 2020-03-18T16:10:32 send the 'host' parameter to support git-daemon's virtual hosting
Stefan Sperling 75fd4eb2 2020-03-18T16:10:32 actually catch connection errors in got_fetch()
Stefan Sperling 5cc27ede 2020-03-18T16:10:32 make protocol dial helpers return struct got_error style errors
Stefan Sperling 8f2d01a6 2020-03-18T16:10:32 send fetch progress over imsg
Stefan Sperling b887aab6 2020-03-18T16:10:32 plug leaks in error path of got_privsep_recv_fetch_progress()
Stefan Sperling b9f99abf 2020-03-18T16:10:32 add imsg for fetch progress reporting; for now only contains reference info
Stefan Sperling 84f2fa52 2020-03-18T16:10:32 rename got_clone() to got_fetch()
Stefan Sperling 6f23baec 2020-03-18T16:10:31 declare got_clone() in public API space
Stefan Sperling 82bde4e0 2020-03-18T16:10:31 remove unused header include
Stefan Sperling afa77e03 2020-03-18T16:10:31 actually create a pack and an index in the right place
Stefan Sperling 279090e1 2020-03-18T16:10:31 pass an object_id * to got_privsep_send_index_pack_req()
Stefan Sperling 22b6b490 2020-03-18T16:10:31 add a .git suffix to cloned repositories by default
Stefan Sperling a251e40e 2020-03-18T16:10:31 GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block
Stefan Sperling fe4e1501 2020-03-18T16:10:30 use got_opentemp_named_fd() instead of open() for tempfiles in got_clone()
Stefan Sperling 93658fb9 2020-03-18T16:10:30 Add initial support for network protocol. Ported from git9 by Ori Bernstein.
Stefan Sperling e1e77cc4 2020-03-17T15:49:17 in got_opentempfd() don't attempt to unlink the file if mkstemp(3) failed
Stefan Sperling ee0cb6f2 2020-03-17T13:12:33 allow inflate(3) to consume all mapped data at once in got_inflate_read_mmap()
Stefan Sperling 8baa7d26 2020-03-17T10:25:06 retry on Z_BUF_ERROR in got_inflate_read() as well
Stefan Sperling afbfc7fb 2020-03-15T16:15:58 remove unneeded memory allocations from ref delta parser which were leaking
Stefan Sperling 686d24ff 2020-03-15T13:32:58 Z_BUF_ERROR is not fatal; try to decompress more data when it happens
Stefan Sperling 3969253a 2020-03-07T19:01:44 remove implicit entry update from got_fileindex_entry_alloc(); just alloc
Tracey Emery 15341bfd 2020-03-05T14:39:37 trim directories in got remove -R This is a racy solution that needs to be properly implemented in the future. ok stsp
Stefan Sperling de05890f 2020-03-05T10:53:53 fix histedit 'rebase commit ID mismatch' error when splitting a commit Commit IDs on histedit's temporary branch can change arbitrarily because the user may create new commits on this branch while editing past commits. So there is no point in trying to verify these IDs like we do during rebase. Add a test case which demonstrates the problem.
Stefan Sperling b8b3f209 2020-02-29T08:15:55 make got_path_is_root_dir() deal with an arbitrary amount of leading slashes
Stefan Sperling 61a7d79f 2020-02-29T08:05:11 remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
Stefan Sperling 63f810e6 2020-02-29T07:54:55 when "bad path" errors occur, always show the path in question
Stefan Sperling 54b1c5b5 2020-02-22T12:37:58 don't proceed if a bad imsg is received in recv_gitconfig_remotes()
Stefan Sperling d669b9c9 2020-02-22T12:37:12 fix uninitialized variablen recv_gitconfig_remotes; found by sthen@ with gcc8
Stefan Sperling 7fa81f88 2020-02-21T01:06:03 allow 'got ref' to manipulate refs which do not have a slash in their name
Stefan Sperling bb63914a 2020-02-17T21:57:56 make tmp dir location a compile-time setting and change gotweb's tmp dir We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.
Tracey Emery 3c24af98 2020-02-07T21:06:03 fix segfault in got backout which include deleted files
Tracey Emery 992eb9d8 2020-02-07T17:02:17 spelling
Stefan Sperling 9a1cc63f 2020-02-03T09:18:40 read repository owner name with gitconfig parser instead of a hand-rolled one
Tracey Emery 845785d4 2020-02-02T17:08:02 typo
Stefan Sperling 6201aef3 2020-02-02T09:20:56 ignore EROFS during checkout for repositories on read-only filesystems
Stefan Sperling 65aa7d1c 2020-01-28T20:07:15 simplify repository child path check in got_repo_map_path()
Stefan Sperling 71ec7eac 2020-01-28T14:52:27 kill left-over debug code snippet from a46b9f33fb3018765180eb67cc954d863a5cd525
Stefan Sperling a46b9f33 2020-01-28T12:09:03 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.
Stefan Sperling 3dcf3e74 2020-01-28T11:00:34 rewind directory file pointer before re-opening the directory
Stefan Sperling e83c0634 2020-01-27T22:25:59 remove pointless cwd checking from got_repo_map_path()
Stefan Sperling efbadcb1 2020-01-26T23:49:24 avoid creating empty files when one side of a diff is empty; ok tracey
Tracey Emery ac9e7fdd 2020-01-25T16:11:31 create temporary workaround to opening /dev/null during diffing. this will need to be reworked later. ok stsp
Stefan Sperling 867630bb 2020-01-17T11:54:27 Sleep for one nanosecond after syncing the file index to disk Ensures that files modified after got exits have a different timestamp from the one which was recorded in the file index. Previously, 'got status' did not always detect such files as modified. Problem reported by Steven McDonald.
Tracey Emery 54415d85 2020-01-15T22:10:31 kn@ and stsp@ suggested changes
Stefan Sperling d1f16636 2020-01-15T22:05:49 move got_repo_cmp_tags() to got_ref_cmp_tags()
Tracey Emery 2ddd4701 2020-01-15T20:39:12 move cmp_tags() into the library
Stefan Sperling 71a27632 2020-01-15T19:26:49 move match_object_id() into the library; supersedes got_repo_resolve_commit_arg
Stefan Sperling 7a1d6b72 2020-01-15T19:10:46 fix 'tog log -c' with tags
Stefan Sperling bb51a5b4 2020-01-13T10:28:58 add -E option to 'got checkout' allowing use of a non-empty work tree path needed by and ok kn@
Theo Buehler 455de7fa 2020-01-12T19:41:31 Avoid out of bounds access if path is "/". From Martin <openbsd () academicsolutions ! ch> with tweaks by me. ok stsp
Stefan Sperling 87c1ed2b 2020-01-07T21:50:38 don't bother swapping the first pack index cache pointer, and improve comment
Stefan Sperling f73df793 2020-01-07T21:02:16 increase tag cache size; makes tog more responsive when many tags exist
Stefan Sperling e1a68182 2020-01-07T17:49:17 fix pack index cache; don't open/close pack index files needlessly
Stefan Sperling ca6e02ac 2020-01-07T11:14:52 add support for first-parent history traversal to got-read-pack