|
20b7abb3
|
2020-10-22T20:36:23
|
|
detect unknown repository format extensions (such as sha256 format)
ok millert
|
|
62d463ca
|
2020-10-20T22:43:59
|
|
indentation fixes
|
|
1367695b
|
2020-09-26T20:53:13
|
|
fix potential type mismatches between format specifiers and arguments
Cast printf arguments of type time_t and off_t to long long to match
the %lld format specifier on platforms where this might not be the
case. In parse.y, switch the number variable to long long because
all its interactions are with that type anyway.
ok millert stsp
|
|
b8adfa55
|
2020-09-25T21:35:10
|
|
add "branch" keyword to got.conf which specifies a list of branches to fetch
ok tracey
|
|
5e082626
|
2020-09-24T10:51:21
|
|
remove redundant leading slashes from repository path parsed from got.conf
|
|
6c13dcd2
|
2020-09-18T18:24:09
|
|
send gitconfig imsg string values the same way as gotconfig ones are sent
|
|
be96c417
|
2020-09-17T11:51:59
|
|
fix got.conf overriding GOT_AUTHOR even if no author is set in got.conf
|
|
8de9818a
|
2020-09-14T20:12:18
|
|
remove unused #includes from the new got-read-gotconfig/parse.y
ok tracey
|
|
e12e0e21
|
2020-09-14T17:53:41
|
|
do not rely on <zlib.h> to pull in <unistd.h>
|
|
23c57b28
|
2020-09-11T19:44:18
|
|
Stop including <sys/syslimits.h> directly.
POSIX says the limits defined there are available from <limits.h>,
which almost all affected source files already included anyway.
ok millert stsp
|
|
53dfa00d
|
2020-09-10T19:54:33
|
|
initialize variable in got-read-gotconfig to fix SIGBUS in free(3) on sparc64
|
|
3168e5da
|
2020-09-10T00:10:55
|
|
zap trailing tabs
|
|
257add31
|
2020-09-09T23:57:40
|
|
add got.conf(5) configuration file
ok tracey
|
|
78fb0967
|
2020-09-09T21:41:22
|
|
use the POSIX standard endian functions and explicitly include <endian.h>
ok stsp
|
|
81a12da5
|
2020-09-09T19:35:32
|
|
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
|
|
631179de
|
2020-07-31T14:10:44
|
|
Fix missing block grouping.
ok tracey stsp
|
|
00927983
|
2020-04-19T09:11:37
|
|
remove got_packidx_get_object_idx_sha1(); it is not actually needed
|
|
ded8fbb8
|
2020-04-19T08:57:07
|
|
include the relevant object ID in NO_OBJ error messages where possible
|
|
3abebdc2
|
2020-03-24T15:24:08
|
|
make got-index-pack check the expected pack checksum passed from main process
|
|
6ad68bce
|
2020-03-24T15:15:51
|
|
make got-index-pack compute and verify the pack file's SHA1 checksum
|
|
1d72a2a0
|
2020-03-24T14:08:03
|
|
represent packfile hash as byte array in the privsep layer, not as object ID
|
|
dc671e91
|
2020-03-24T12:07:58
|
|
compute pack file's checksum during download and check it in got-fetch-pack
Compared to the previous version committed in 520a0c97 this code should
compute the checksum correctly for any amount of pack file data bytes
read from the socket at a time.
|
|
729743d1
|
2020-03-23T21:34:06
|
|
revert 520a0c97f8081e4531fc9c88cda705a92afbddaf for now due to possible bug
|
|
520a0c97
|
2020-03-23T21:08:17
|
|
compute pack file's checksum during download and check it in got-fetch-pack
|
|
e70bf110
|
2020-03-22T17:20:18
|
|
move functions from privsep.c to the helpers which use them where possible
|
|
0e4002ca
|
2020-03-21T21:49:13
|
|
add support for fetching arbitrary references to 'got clone' and 'got fetch'
|
|
2690194b
|
2020-03-21T18:17:12
|
|
remove GOT_FETCH_DEBUG and toggle fetch debug output with -v option instead
|
|
0bec957e
|
2020-03-21T17:28:23
|
|
close fetchfd when we're done in got-fetch-pack
|
|
4515a796
|
2020-03-21T11:24:14
|
|
make 'clone -l' and 'fetch -l' list all references, regardless of namespace
|
|
41b0de12
|
2020-03-21T10:18:15
|
|
add support for listing remote branches and tags to 'got clone' and 'got fetch'
|
|
4ba14133
|
2020-03-20T20:23:18
|
|
add support for fetching specific branches to 'got clone' and 'got fetch'
|
|
659e7fbd
|
2020-03-20T15:55:08
|
|
fetch only HEAD branch and tags by default; add -a option to fetch everything
|
|
469dd726
|
2020-03-20T11:44:14
|
|
add support for repository mirrors to 'got clone' and 'got fetch'
|
|
858b0dfb
|
2020-03-20T11:01:44
|
|
re-add chatty mode to got-fetch-pack; it will be useful to diagnose bugs
|
|
c20695fb
|
2020-03-20T10:11:43
|
|
fix off-by-one in writepkt() length parameter passed by fetch_pack()
|
|
406106ee
|
2020-03-20T10:09:18
|
|
don't skip protocol capabilities advertisement if the first ref isn't wanted
|
|
f1c6967f
|
2020-03-19T22:43:44
|
|
fix chopped display of git-server's progress output
|
|
3c912d14
|
2020-03-19T17:11:00
|
|
remove chattygit mode from got-fetch-pack
|
|
7848a0e1
|
2020-03-19T16:57:27
|
|
implement 'got fetch'
|
|
d582f26c
|
2020-03-18T16:13:48
|
|
write large objects to disk when resolving deltas; raise in-mem delta threshold
|
|
18d4da03
|
2020-03-18T16:13:46
|
|
tweak delta cache size in got-index-pack
|
|
93bba072
|
2020-03-18T16:13:46
|
|
use qsort(3) instead of mergesort(3) to avoid a large spike in memory usage
|
|
97684601
|
2020-03-18T16:13:46
|
|
write CRC info in one chunk rather than calling write(2) once per object
|
|
021b0c6f
|
2020-03-18T16:13:46
|
|
don't forget to send a final progress notification from got-index-pack
|
|
5672d305
|
2020-03-18T16:13:46
|
|
waste less time on sending progress messages over the privsep pipe
|
|
160bbe2e
|
2020-03-18T16:13:46
|
|
jump right to the index of the first delta
|
|
e6c1173d
|
2020-03-18T16:13:46
|
|
document why deltas will usually be resolved within a single loop iteration
|
|
4788f1ce
|
2020-03-18T16:13:46
|
|
extract large objects to a temporary file in got-index-pack
|
|
ec92f929
|
2020-03-18T16:13:45
|
|
another indentation fix
|
|
4c06f612
|
2020-03-18T16:13:45
|
|
remove now pointless error check
|
|
b3e1118b
|
2020-03-18T16:13:45
|
|
fix indentation
|
|
f826addf
|
2020-03-18T16:13:45
|
|
use a dedicated imsg for sending the pack fetch output file descriptor
|
|
73ab1060
|
2020-03-18T16:13:45
|
|
use a dedicated imsg for sending the pack index output file descriptor
|
|
72054488
|
2020-03-18T16:13:44
|
|
ooops, re-enable offset deltas in got-fetch-pack
|
|
964d3c5b
|
2020-03-18T16:13:44
|
|
increase delta cache size for got-index-pack
|
|
b102634c
|
2020-03-18T16:13:44
|
|
avoid magic numbers when writing pack index header in got-index-pack
|
|
2e5a6fad
|
2020-03-18T16:13:44
|
|
add mmap support to got-index-pack
|
|
f63dc90d
|
2020-03-18T16:13:44
|
|
remove unnecessary & in read_packed_object()
|
|
861f3006
|
2020-03-18T16:13:44
|
|
pledge got-index-pack
|
|
4d0fef1d
|
2020-03-18T16:13:44
|
|
plug a memory leak in resolve_deltified_object()
|
|
37ebab0a
|
2020-03-18T16:13:44
|
|
free objects when indexing is done
|
|
262c582a
|
2020-03-18T16:13:44
|
|
allocate one large indexed object array upfront, not an array of pointers
|
|
7cd14ea0
|
2020-03-18T16:13:43
|
|
plug memory leak in error path of read_packed_object()
|
|
836f2c92
|
2020-03-18T16:13:43
|
|
use a union for delta-specific data in struct got_indexed_object
|
|
cbc66309
|
2020-03-18T16:13:43
|
|
wrap overlong lines
|
|
0fd91daf
|
2020-03-18T16:13:43
|
|
populate an in-progress pack index only if ref deltas are present
|
|
950de2cd
|
2020-03-18T16:13:43
|
|
avoid unnecessary memmove calls during the first indexing pass
|
|
55fdd257
|
2020-03-18T16:13:43
|
|
do not buffer more data than necessary in got_inflate_to_mem_fd()
|
|
b4152680
|
2020-03-18T16:13:42
|
|
remove duplicated code under #if 0
|
|
64ab7238
|
2020-03-18T16:13:42
|
|
remove pointless lseek() call in index_pack()
|
|
8bb2b40c
|
2020-03-18T16:13:42
|
|
fix CRC values in generated pack index
|
|
c5621f1c
|
2020-03-18T16:13:42
|
|
enable object CRC calculation in got-index-pack
|
|
f4d0a1a4
|
2020-03-18T16:13:42
|
|
remove header check from got-fetch-pack; not needed
|
|
1e87a3c3
|
2020-03-18T16:13:42
|
|
avoid re-reading the entirety of an object's data to calculate the CRC
|
|
7bad1537
|
2020-03-18T16:13:42
|
|
make use of the large object counter inside the packidx structure
|
|
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
|
|
52915720
|
2020-03-18T16:11:31
|
|
remove a pointless 'goto done'
|
|
d3dccf3a
|
2020-03-18T16:11:31
|
|
remove unused hash string arrays
|
|
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
|
|
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
|