Log

Author Commit Date CI Message
Stefan Sperling a6ee240a 2020-03-18T16:11:32 improve error message on short packfile
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 9fa51812 2020-03-18T16:11:32 check pack file header in fetch_pack()
Stefan Sperling 3b9fb585 2020-03-18T16:11:31 hide an fprintf inside if (chattygit)
Stefan Sperling 54d1a70f 2020-03-18T16:11:31 verify that length string read from packet contains hex digits only
Stefan Sperling 52915720 2020-03-18T16:11:31 remove a pointless 'goto done'
Stefan Sperling 4dc8ee09 2020-03-18T16:11:31 improve strtol checking in got-fetch-pack
Stefan Sperling 38c670f1 2020-03-18T16:11:31 convert flushpkt to struct got_error
Stefan Sperling d3dccf3a 2020-03-18T16:11:31 remove unused hash string arrays
Stefan Sperling 344e4747 2020-03-18T16:11:31 convert writepkt to struct got_error
Stefan Sperling 04c53c18 2020-03-18T16:11:31 make got-fetch-pack check for NAK from server before the packfile arrives
Stefan Sperling eac2c4cd 2020-03-18T16:11:30 make check_pack_hash() return a struct got_error
Stefan Sperling 01538ce4 2020-03-18T16:11:30 add_symref modifies 'capa' so it cannot be const
Stefan Sperling ffb5f621 2020-03-18T16:11:30 pledge got-fetch-pack ("stdio recvfd")
Stefan Sperling 00cd0e0a 2020-03-18T16:11:30 use more readable names for items parsed from refline, and plug related leaks
Stefan Sperling e2f84af4 2020-03-18T16:11:30 remove got_has_object() for now; this would require imsg to main process
Stefan Sperling 4ba321e7 2020-03-18T16:11:30 mark some functions static in got-fetch-pack
Stefan Sperling 1ff21071 2020-03-18T16:11:30 remove got_ prefix from static functions in got-fetch-pack
Stefan Sperling f78e0473 2020-03-18T16:11:30 add missing \n in debug output
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 fe53745c 2020-03-18T16:11:30 convert readn and readpkt to struct got_error
Stefan Sperling 2fed35f3 2020-03-18T16:11:30 knf
Stefan Sperling 0872c0b0 2020-03-18T16:11:30 more reasonable minimum length check in check_pack_hash()
Stefan Sperling 6fb3a497 2020-03-18T16:11:29 add optional 'consumed' output parameter to got_inflate_to_mem()
Stefan Sperling 14778466 2020-03-18T16:11:29 realloc(p, nmemb * size) -> reallocarray(p, nmemb, size)
Stefan Sperling 0f06079f 2020-03-18T16:11:29 add a TODO comment
Stefan Sperling a468349c 2020-03-18T16:11:29 re-enable fetching of offset deltas in got-fetch-pack
Stefan Sperling acd24462 2020-03-18T16:11:29 add a TODO comment
Stefan Sperling 06c788f9 2020-03-18T16:11:29 remove got_make_pack_dir() which is unused
Stefan Sperling cf875574 2020-03-18T16:11:29 knf
Stefan Sperling 4b20c923 2020-03-18T16:11:29 remove strip() stub function that does nothing
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 27937592 2020-03-18T16:11:28 add more missing \n in fprintfs from got-index-pack
Stefan Sperling fd86ad6e 2020-03-18T16:11:28 pass SEEK_SET instead of zero for fseek() whence parameter
Stefan Sperling 57138e05 2020-03-18T16:11:28 add missing \n in error print
Stefan Sperling a98e36f8 2020-03-18T16:11:28 fix inverted error check in readodelta()
Stefan Sperling 4a89c790 2020-03-18T16:11:28 remove unneeded include
Stefan Sperling 629bd8f3 2020-03-18T16:11:28 fix fetch_test build
Stefan Sperling a78567c6 2020-03-18T16:11:28 document fetch API functions
Stefan Sperling ceee4c0f 2020-03-18T16:11:28 remove unused arguments from got_fetch_pack()
Stefan Sperling 07e52fce 2020-03-18T16:11:27 rename got_fetch() to 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 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 13ce8c93 2020-03-18T16:10:33 add missing space between first wanted hash and our capability string
Stefan Sperling a6f88e33 2020-03-18T16:10:33 make got-fetch-pack sanity check error messages sent by server
Stefan Sperling 8a29a085 2020-03-18T16:10:33 make got-fetch-pack match its capabilities with those of the server
Stefan Sperling 0d0a341c 2020-03-18T16:10:33 parse server capabilities in got-fetch-pack
Stefan Sperling 9ff10419 2020-03-18T16:10:32 convert got_fetch_pack to got_error + KNF
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 ccbf9d19 2020-03-18T16:10:32 remove some unused path variables from got-fetch-pack
Stefan Sperling 84f2fa52 2020-03-18T16:10:32 rename got_clone() to got_fetch()
Stefan Sperling 4312a498 2020-03-18T16:10:32 send the 'host' parameter to support git-daemon's virtual hosting
Stefan Sperling 9b45e112 2020-03-18T16:10:32 remove redundant colon from error message
Stefan Sperling 75fd4eb2 2020-03-18T16:10:32 actually catch connection errors in got_fetch()
Stefan Sperling abd4a1be 2020-03-18T16:10:32 move new errors codes to end of error code list
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 018e0a9a 2020-03-18T16:10:32 rename got_fetch_pack to just fetch_pack; this function is static
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 83b416ed 2020-03-18T16:10:30 add ori as author
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
Tracey Emery 7b1f04a6 2020-03-11T14:59:15 remove 'Next' link from tags on summary page where no tags exist and commit briefs have set gw_trans->next_id if gw_briefs set gw_trans->next_id in gw_summary, it was being carried over to gw_tags, causing the 'Next' link to be displayed.
Stefan Sperling 3969253a 2020-03-07T19:01:44 remove implicit entry update from got_fileindex_entry_alloc(); just alloc
Stefan Sperling ef6337de 2020-03-06T12:46:35 bump version number
Stefan Sperling cff5d32f 2020-03-06T12:42:58 change for 0.29
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 5b87815e 2020-03-05T11:20:24 prevent commits from being listed more than once in a histedit script While merging a commit multiple times during a histedit operation could potentially make sense in some corner case, a commit appearing more than once in the script is more likely to happen accidentally. If desired, the same effect can still be achieved by running multiple histedit operations, or by using 'got cherrypick' while the histedit operation is paused for arbitrary editing.
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 4cb8f8f3 2020-03-05T09:51:26 fix wrong use of words in a histedit error message
Stefan Sperling 37486c75 2020-03-05T09:36:45 make our README file point at our website
Stefan Sperling 4b6c9460 2020-03-05T08:41:12 be helpful when users try to check out work trees without a known branch Provide a useful error message in such cases and explicitly document intentional restrictions in the got(1) man page. Prompted by a question from Adam Steen via bsd.network https://bsd.network/@adams/103768951483318235
Stefan Sperling ee85c5e8 2020-02-29T11:13:12 map 'tog path' to 'tog log path' if possible; requested by mpi@
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 a2f4a359 2020-02-28T19:37:37 properly free cmd_argv in tog's main() function
Stefan Sperling dfd6c250 2020-02-28T19:36:57 fix typo in comment; found by mpi@
Stefan Sperling a0ea4fc0 2020-02-28T17:37:53 show merged commit ID + logmsg upon merge conflict during rebase and histedit This makes it more apparent which commit contained the conflicting change. The new output looks like this: C sys/dev/pci/if_iwm.c 8a98d848a1a5 -> merge conflict: properly modify station queues got: conflicts must be resolved before rebasing can continue
Stefan Sperling 272a1371 2020-02-28T17:32:05 don't leak logmsg in show_rebase_progress()