|
f7e127f3
|
2018-03-17T02:02:32
|
|
move delta cache into struct got_pack
|
|
7e656b93
|
2018-03-17T01:37:48
|
|
add struct got_pack; some preparation for mmap, which isn't used yet
|
|
b29656e2
|
2018-03-16T23:05:12
|
|
set obj->size of packed deltified objects to object's actual size
|
|
65cf1e80
|
2018-03-16T22:33:22
|
|
revert the pack file handle cache again; needs more thought
|
|
ef2bccd9
|
2018-03-16T22:14:51
|
|
stop opening pack files redundantly to read deltas
|
|
6845d284
|
2018-03-16T21:40:20
|
|
use SEEK_SET instead of SEEK_CUR after opening packfile
|
|
87c99799
|
2018-03-16T21:26:06
|
|
start caching file handles to packfiles
|
|
19d747f7
|
2018-03-16T20:18:09
|
|
avoid an extra memcpy in got_inflate_to_mem()
|
|
43a2d19d
|
2018-03-16T19:28:52
|
|
need to subtract hdrlen from tree data in got_object_tree_open()
|
|
ea35256b
|
2018-03-16T19:27:48
|
|
avoid a round-trip via tempfile when reading packed commits
|
|
40dc5ff8
|
2018-03-16T19:22:22
|
|
rename a function for clarity
|
|
e0ab43e7
|
2018-03-16T19:20:15
|
|
avoid a round-trip of data through a temp file when reading trees
|
|
8628c62d
|
2018-03-15T01:21:57
|
|
process small deltas in memory; unfortunately it is not faster...
|
|
1cc8e7f9
|
2018-03-15T00:31:05
|
|
remove a useless and leaky allocation
|
|
9db65d41
|
2018-03-14T23:42:16
|
|
In dump_delta_chain(), don't open the packfile if it's not needed.
|
|
ec889268
|
2018-03-14T23:32:19
|
|
fix open file handle leak in dump_delta_chain()
|
|
9feb4ff2
|
2018-03-14T02:37:58
|
|
propagate error from delta cache insertion; fixes mem leak
|
|
bd1223b9
|
2018-03-14T01:21:09
|
|
add a delta cache; saves us from reading + decompressing some deltas
|
|
4834ca96
|
2018-03-13T19:03:55
|
|
add a macro for zbuf buffer size
|
|
8e6b5191
|
2018-03-13T18:53:41
|
|
restrict in-memory delta processing to 4MB
|
|
22484865
|
2018-03-13T18:28:40
|
|
process delta chains in memory if max size is < 32 MB
|
|
39ff877f
|
2018-03-13T16:31:33
|
|
expand deltas in memory if result size is < 32MB
|
|
0bb8a95e
|
2018-03-12T22:00:08
|
|
add support for checking out a subtree
|
|
92a684f4
|
2018-03-12T21:34:38
|
|
show progress during checkout
|
|
4847cca1
|
2018-03-12T20:56:31
|
|
make is_git_repo() check for a usable HEAD reference
|
|
4986b9d5
|
2018-03-12T20:51:37
|
|
add support for opening bare repositories
|
|
deeca238
|
2018-03-12T20:41:51
|
|
in is_git_repo(), actually verify presence of git repository dirs and files
|
|
23b19d00
|
2018-03-12T14:08:37
|
|
fix worktree test build: remove more unused variables
|
|
25783624
|
2018-03-12T13:59:29
|
|
use stricter CPPFLAGS from mpi
|
|
51664889
|
2018-03-12T13:41:13
|
|
in got_worktree_checkout_files, init file index path before using
|
|
e77c4c9f
|
2018-03-12T13:37:17
|
|
remove base-commit meta file; this will move into the fileindex
|
|
c34b20a2
|
2018-03-12T13:06:03
|
|
write file index after checking out files
|
|
9d31a1d8
|
2018-03-11T20:39:31
|
|
initial implementation of worktree checkout
|
|
dc2404d9
|
2018-03-11T14:28:36
|
|
remove got_worktree_change_head() for now
|
|
35be1456
|
2018-03-11T14:27:53
|
|
implement got_worktree_get_head_ref_name()
|
|
e559c328
|
2018-03-11T14:22:19
|
|
refine file index data structures a bit more
|
|
32cb896c
|
2018-03-11T14:10:56
|
|
rename library-private headers from *_priv.h to *_lib.h
|
|
78727e91
|
2018-03-11T14:02:12
|
|
add missing function declarations
|
|
c48c4a9c
|
2018-03-11T13:59:29
|
|
implement fileindex entry open/close
|
|
5677e194
|
2018-03-11T13:20:25
|
|
rename got_zb_priv.h to got_zbuf_priv.h
|
|
a76a38d9
|
2018-03-11T13:17:56
|
|
rename zb.c to zbuf.c
|
|
c88eb298
|
2018-03-11T13:15:49
|
|
rename worktree_root to root_path in struct worktree
|
|
cde76477
|
2018-03-11T13:14:08
|
|
rename some fields in struct worktree
|
|
e8f36958
|
2018-03-11T13:11:43
|
|
read / free the head ref when work tree is opened / closed
|
|
d6c38e0d
|
2018-03-11T13:08:03
|
|
free base commit when worktree is closed
|
|
f5baf295
|
2018-03-11T13:06:45
|
|
read base commit hash when worktree is opened
|
|
65e3b818
|
2018-03-11T12:52:02
|
|
set base commit to invalid commit id when work tree is created
|
|
0605801d
|
2018-03-11T12:44:13
|
|
check read() return value properly in read_meta_file()
|
|
7ac97322
|
2018-03-11T12:41:21
|
|
rename variable gotpath to path_got
|
|
fdf001a7
|
2018-03-11T12:28:15
|
|
add a proper definition for the worktree head
|
|
e350ead3
|
2018-03-11T12:23:28
|
|
create an emtpy base-commit file
|
|
056e7441
|
2018-03-11T11:39:48
|
|
use a dedicated file for the work tree lock
|
|
58ecc593
|
2018-03-11T02:53:51
|
|
document how work tree locking will work
|
|
ef99fdb1
|
2018-03-11T02:31:27
|
|
use flock(2) because open(2) O_NONBLOCK also enables non-blocking I/O
|
|
73a5ef67
|
2018-03-11T02:15:34
|
|
lock meta data files in worktree correctly
|
|
6d9d28c3
|
2018-03-11T02:03:45
|
|
implement worktree open and close operations
|
|
2cb4bacb
|
2018-03-11T01:33:55
|
|
assume good path input in got_worktree_init()
|
|
09fe317a
|
2018-03-11T01:33:02
|
|
add function to read worktree meta data file
|
|
4d94df2d
|
2018-03-11T01:19:40
|
|
rename worktree set_head() operation to change_head()
|
|
606778cd
|
2018-03-11T01:18:45
|
|
fileindex update function probably won't be needed after all
|
|
577ec78f
|
2018-03-11T01:15:39
|
|
store a path prefix in the worktree; will be used for subtree checkout
|
|
2e8aa240
|
2018-03-11T01:07:09
|
|
file_index -> fileindex
|
|
fca9db82
|
2018-03-11T01:06:29
|
|
rename file_index -> fileindex
|
|
9dce68ed
|
2018-03-10T17:44:23
|
|
typo in comment
|
|
ed7464bb
|
2018-03-10T17:15:18
|
|
whitespace
|
|
281294a5
|
2018-03-10T17:14:25
|
|
add stub for anticipated worktree function which updates fileindex
|
|
99724ed4
|
2018-03-10T17:08:23
|
|
add a helper function which creates worktree meta files
|
|
1451e70d
|
2018-03-10T16:51:30
|
|
stamp worktrees with a format number
|
|
8eea5a5c
|
2018-03-10T01:13:12
|
|
bump copyright
|
|
63afc6c6
|
2018-03-10T01:09:31
|
|
unwrap short line
|
|
f0e4a7b7
|
2018-03-10T01:03:31
|
|
indent long line
|
|
86c3caaf
|
2018-03-10T00:22:23
|
|
add worktree skeleton code; implement got_worktree_init()
|
|
8fd17454
|
2018-03-09T23:43:59
|
|
don't forget to set error message in got_error_from_errno()
|
|
422a2f50
|
2018-03-09T21:44:46
|
|
file index path padding is only needed on disk
|
|
c8988c68
|
2018-03-09T21:43:05
|
|
file index entries are variable in size; use a tailq
|
|
0a71ee67
|
2018-03-09T18:12:10
|
|
return error from search_packidx() if dup_packidx() fails
|
|
d0b44960
|
2018-03-09T18:03:38
|
|
tweak wording in comment
|
|
6bb30d9a
|
2018-03-09T18:02:39
|
|
the file index header checksum applies to on-disk data
|
|
3c34e7b0
|
2018-03-09T18:01:57
|
|
missed one
|
|
aeabcaee
|
2018-03-09T18:01:00
|
|
got_index_priv.h -> got_file_index_priv.h
|
|
33516987
|
2018-03-09T18:00:23
|
|
rename 'index' data structures to 'file index'
|
|
adb27c25
|
2018-03-09T17:59:03
|
|
more tweaks to index structures
|
|
79b11c62
|
2018-03-09T17:01:49
|
|
add a pack index cache; speeds tree listing up quite a lot
|
|
2393f13b
|
2018-03-09T15:36:55
|
|
support an absolute repos path argument in got_repo_open()
|
|
2d01eeba
|
2018-03-09T15:33:56
|
|
some tweaks to the index format we'll probably make
|
|
0d7de9e3
|
2018-03-09T15:09:39
|
|
remove things which are unused in index format 2
|
|
68d9677d
|
2018-03-09T15:08:37
|
|
add some basic data structores for git index
|
|
39e73dc9
|
2018-03-03T14:18:08
|
|
We don't use a delta combiner, we use delta application.
A "delta combiner" (as used in SVN) combines deltas and applies
the combined delta to the base. We don't do this yet; we apply
deltas one by one.
|
|
be89e2b1
|
2018-03-03T14:02:13
|
|
In read_to_mem() loop, don't overwrite already read blocks
|
|
1411938b
|
2018-02-12T23:25:38
|
|
rename private header filenames so they are in got_ namespace
|
|
03c6739c
|
2018-02-12T23:16:53
|
|
move got_sha1.h to private lib directory
|
|
38d42f42
|
2018-02-12T22:57:02
|
|
inline refs.h in refs.c
|
|
3b339b2f
|
2018-02-12T22:56:07
|
|
make struct got_repository opaque
|
|
0c9bd0c5
|
2018-02-12T22:49:33
|
|
make struct got_reference opaque
|
|
ef0981d5
|
2018-02-12T22:40:55
|
|
make length of id string an implementation detail
|
|
6dfa2fd3
|
2018-02-12T22:20:37
|
|
remove got_parse_object_id(), add got_object_open_by_id_str() instead
|
|
59ece79d
|
2018-02-12T22:13:27
|
|
make struct got_object_id opaque
|
|
908b0194
|
2018-02-12T21:29:08
|
|
move struct got_zstream_buf to private header zb.h
|
|
f934cf2c
|
2018-02-12T21:27:40
|
|
make struct got_blob_object opaque
|
|
eba5c6bb
|
2018-02-12T00:25:40
|
|
repair blob diffing
|