|
668a20f6
|
2020-03-18T16:13:41
|
|
rewritten got-index-pack; sorry about the monster commit
|
|
baa9fea0
|
2020-03-18T16:11:33
|
|
send indexing progress via an imsg
|
|
849f7557
|
2020-03-18T16:11:32
|
|
check pack file hash in the main process
|
|
d2cdc636
|
2020-03-18T16:11:32
|
|
send pack file download progress information over imsg
|
|
a6ee240a
|
2020-03-18T16:11:32
|
|
improve error message on short packfile
|
|
ea7396b9
|
2020-03-18T16:11:32
|
|
rename imsg FETCH_PROGRESS to FETCH_REF
|
|
9fa51812
|
2020-03-18T16:11:32
|
|
check pack file header in fetch_pack()
|
|
531c3985
|
2020-03-18T16:11:32
|
|
add support for git protocol sidebands and display server progress
|
|
04c53c18
|
2020-03-18T16:11:31
|
|
make got-fetch-pack check for NAK from server before the packfile arrives
|
|
3b9fb585
|
2020-03-18T16:11:31
|
|
hide an fprintf inside if (chattygit)
|
|
54d1a70f
|
2020-03-18T16:11:31
|
|
verify that length string read from packet contains hex digits only
|
|
4dc8ee09
|
2020-03-18T16:11:31
|
|
improve strtol checking in got-fetch-pack
|
|
38c670f1
|
2020-03-18T16:11:31
|
|
convert flushpkt to struct got_error
|
|
344e4747
|
2020-03-18T16:11:31
|
|
convert writepkt to struct got_error
|
|
52915720
|
2020-03-18T16:11:31
|
|
remove a pointless 'goto done'
|
|
d3dccf3a
|
2020-03-18T16:11:31
|
|
remove unused hash string arrays
|
|
f78e0473
|
2020-03-18T16:11:30
|
|
add missing \n in debug output
|
|
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
|
|
fe53745c
|
2020-03-18T16:11:30
|
|
convert readn and readpkt to struct got_error
|
|
2fed35f3
|
2020-03-18T16:11:30
|
|
knf
|
|
0872c0b0
|
2020-03-18T16:11:30
|
|
more reasonable minimum length check in check_pack_hash()
|
|
eac2c4cd
|
2020-03-18T16:11:30
|
|
make check_pack_hash() return a struct got_error
|
|
01538ce4
|
2020-03-18T16:11:30
|
|
add_symref modifies 'capa' so it cannot be const
|
|
ffb5f621
|
2020-03-18T16:11:30
|
|
pledge got-fetch-pack ("stdio recvfd")
|
|
00cd0e0a
|
2020-03-18T16:11:30
|
|
use more readable names for items parsed from refline, and plug related leaks
|
|
e2f84af4
|
2020-03-18T16:11:30
|
|
remove got_has_object() for now; this would require imsg to main process
|
|
4ba321e7
|
2020-03-18T16:11:30
|
|
mark some functions static in got-fetch-pack
|
|
1ff21071
|
2020-03-18T16:11:30
|
|
remove got_ prefix from static functions in got-fetch-pack
|
|
14778466
|
2020-03-18T16:11:29
|
|
realloc(p, nmemb * size) -> reallocarray(p, nmemb, size)
|
|
0f06079f
|
2020-03-18T16:11:29
|
|
add a TODO comment
|
|
a468349c
|
2020-03-18T16:11:29
|
|
re-enable fetching of offset deltas in got-fetch-pack
|
|
acd24462
|
2020-03-18T16:11:29
|
|
add a TODO comment
|
|
06c788f9
|
2020-03-18T16:11:29
|
|
remove got_make_pack_dir() which is unused
|
|
cf875574
|
2020-03-18T16:11:29
|
|
knf
|
|
4b20c923
|
2020-03-18T16:11:29
|
|
remove strip() stub function that does nothing
|
|
6fb3a497
|
2020-03-18T16:11:29
|
|
add optional 'consumed' output parameter to got_inflate_to_mem()
|
|
27937592
|
2020-03-18T16:11:28
|
|
add more missing \n in fprintfs from got-index-pack
|
|
fd86ad6e
|
2020-03-18T16:11:28
|
|
pass SEEK_SET instead of zero for fseek() whence parameter
|
|
57138e05
|
2020-03-18T16:11:28
|
|
add missing \n in error print
|
|
a98e36f8
|
2020-03-18T16:11:28
|
|
fix inverted error check in readodelta()
|
|
4a89c790
|
2020-03-18T16:11:28
|
|
remove unneeded include
|
|
8a29a085
|
2020-03-18T16:10:33
|
|
make got-fetch-pack match its capabilities with those of the server
|
|
0d0a341c
|
2020-03-18T16:10:33
|
|
parse server capabilities in got-fetch-pack
|
|
abe0f35f
|
2020-03-18T16:10:33
|
|
parse symrefs from server capabilities and transmit them over imsg
|
|
13ce8c93
|
2020-03-18T16:10:33
|
|
add missing space between first wanted hash and our capability string
|
|
a6f88e33
|
2020-03-18T16:10:33
|
|
make got-fetch-pack sanity check error messages sent by server
|
|
9b45e112
|
2020-03-18T16:10:32
|
|
remove redundant colon from error message
|
|
8f2d01a6
|
2020-03-18T16:10:32
|
|
send fetch progress over imsg
|
|
018e0a9a
|
2020-03-18T16:10:32
|
|
rename got_fetch_pack to just fetch_pack; this function is static
|
|
9ff10419
|
2020-03-18T16:10:32
|
|
convert got_fetch_pack to got_error + KNF
|
|
ccbf9d19
|
2020-03-18T16:10:32
|
|
remove some unused path variables from got-fetch-pack
|
|
279090e1
|
2020-03-18T16:10:31
|
|
pass an object_id * to got_privsep_send_index_pack_req()
|
|
a251e40e
|
2020-03-18T16:10:31
|
|
GOT_IMSG_ACK isn't needed; just fill the pipe, reading responses will block
|
|
93658fb9
|
2020-03-18T16:10:30
|
|
Add initial support for network protocol. Ported from git9 by Ori Bernstein.
|
|
61a7d79f
|
2020-02-29T08:05:11
|
|
remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
|
|
63f810e6
|
2020-02-29T07:54:55
|
|
when "bad path" errors occur, always show the path in question
|
|
9a1cc63f
|
2020-02-03T09:18:40
|
|
read repository owner name with gitconfig parser instead of a hand-rolled one
|
|
55e54fd3
|
2020-01-28T14:03:16
|
|
remove a Makefile chunk which is obsolete since bb5b19e3
|
|
54415d85
|
2020-01-15T22:10:31
|
|
kn@ and stsp@ suggested changes
|
|
2c251c14
|
2020-01-15T22:10:30
|
|
Initial gotweb branch import
|
|
ca6e02ac
|
2020-01-07T11:14:52
|
|
add support for first-parent history traversal to got-read-pack
|
|
5aa81393
|
2020-01-06T19:38:23
|
|
add copyright year for files already touched in 2020
|
|
fe558a04
|
2020-01-06T15:58:23
|
|
plug a memory leak: got-read-commit forgot to close commits
|
|
3f7f9bd9
|
2020-01-06T15:50:36
|
|
fix memleak in error case of got-read-commit
|
|
b87b4170
|
2020-01-06T14:10:36
|
|
rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)
|
|
b64b1f95
|
2020-01-06T13:10:00
|
|
plug a memory leak; parsed tree entries were not freed
|
|
cd95becd
|
2019-11-29T02:46:04
|
|
parse remotes from gitconfig
|
|
3022d272
|
2019-11-14T17:12:32
|
|
reduce the amount of memcpy() and strdup() while parsing tree entries
|
|
ab2f42e7
|
2019-11-10T15:51:05
|
|
cache delta data buffers in an LRU cache
|
|
42c69117
|
2019-11-10T15:51:05
|
|
stop storing decompressed delta data in struct got_delta; fetch it on demand
|
|
aba9c984
|
2019-09-08T17:14:34
|
|
obtain repo format version and commit author name/email from .git/config
|
|
12ce7a6c
|
2019-08-12T20:56:30
|
|
include <limits.h> instead of <sys/limits.h>; patch by Thomas Klausner
|
|
53ccebc2
|
2019-07-30T14:54:05
|
|
add 'make release' target; programs now have a version number
|
|
cc626439
|
2019-07-15T13:16:26
|
|
make got-read-blob account for header len in size check
Fixes "no space" error with blobs which happen to straddle the
size boundary for in-memory handling.
|
|
4492af84
|
2019-07-15T13:03:32
|
|
plug a memory leak in got-read-blob
|
|
2256993b
|
2019-07-15T12:50:29
|
|
avoid dependency on delta.o in binaries which don't need it
|
|
79c99a64
|
2019-05-23T22:24:13
|
|
don't leak objects which can't be cached
|
|
6869fb7f
|
2019-05-23T21:56:42
|
|
remove unused include in got-read-pack
|
|
cb5e38fd
|
2019-05-23T21:52:49
|
|
fix some leaks in got-read-pack
|
|
704b89c4
|
2019-05-23T21:44:01
|
|
make got-read-pack actually use its object cache
|
|
638f9024
|
2019-05-13T12:40:57
|
|
rename got_error_prefix_errno() to got_error_from_errno()
|
|
656b1f76
|
2019-05-11T14:26:12
|
|
while (1) -> for (;;)
|
|
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)
|
|
3a6ce05a
|
2019-02-11T12:32:53
|
|
check for errors from close(2)
|
|
fb43ecf1
|
2019-02-11T11:59:09
|
|
check for errors from fclose()
|
|
f5d3d7af
|
2019-02-05T15:19:24
|
|
use path lists to sort dirent, tree object, and file index entries
|
|
0ae4af15
|
2019-02-01T22:33:39
|
|
add missing error check in got-raed-pack's tag_request()
|
|
5d56da81
|
2019-01-13T17:15:53
|
|
happy new copyright year
|
|
85a703fa
|
2019-01-13T17:04:03
|
|
got_pack_get_object_size() -> got_pack_get_max_delta_object_size()
|
|
ac544f8c
|
2019-01-13T15:58:39
|
|
pass smallish blobs directly via imsg buffer
|
|
f392e333
|
2018-12-24T17:28:20
|
|
verify total size vs header length in got-read-blob
|
|
ebc55e2d
|
2018-12-24T14:18:56
|
|
eliminate got_object_open() round-trip when opening blobs
|
|
268f7291
|
2018-12-24T11:18:58
|
|
eliminate got_object_open() round-trip when opening tags
|
|
13c729f7
|
2018-12-24T09:35:07
|
|
eliminate got_object_open() round-trip when opening trees
|
|
6e72e6a3
|
2018-12-23T23:21:35
|
|
there's no point in embedding the object header in commits
|
|
1785f84a
|
2018-12-23T23:15:42
|
|
eliminate got_object_open() round-trip when opening commits
|
|
28714985
|
2018-11-17T16:12:36
|
|
add got-read-tag libexec helper
|
|
f4a881ce
|
2018-11-17T16:04:05
|
|
more support for tag objects; new code is not yet reachable
|
|
c945ec50
|
2018-11-17T15:52:59
|
|
init output param in {parse,read}_object_header
|
|
80d5f134
|
2018-11-11T12:59:22
|
|
don't be noisy on stderr when Ctrl-C is hit
|