|
5e54fb30
|
2019-05-31T14:57:57
|
|
test and fix 'got revert' with a path in a sub-directory
Relax input path requirements of got_object_id_by_path() to
make things easier to callers. Allows the revert code to pass
a path from the file index in lieu of a repository path.
|
|
da506691
|
2019-05-22T13:00:28
|
|
set_max_datasize() should be a static function
|
|
b48e2ddb
|
2019-05-22T12:31:30
|
|
set datasize limit of got-read-pack helpers to maximum
|
|
638f9024
|
2019-05-13T12:40:57
|
|
rename got_error_prefix_errno() to got_error_from_errno()
|
|
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)
|
|
48b8b0eb
|
2019-05-11T10:40:57
|
|
error: introduce got_error_prefix_errno for better errno messages
|
|
324d37e7
|
2019-05-11T09:14:30
|
|
make got path APIs available to library consumers
|
|
8c4eabf2
|
2019-05-10T18:40:10
|
|
redo: fix tree_entry_dup error path
|
|
83a7ae6d
|
2019-05-10T18:38:59
|
|
revert previous
|
|
3ffe981f
|
2019-05-10T18:38:23
|
|
fix tree_entry_dup error path
|
|
ed175427
|
2019-05-07T19:53:44
|
|
more progress on generating new tree entries
|
|
90bdb554
|
2019-04-11T14:30:40
|
|
expose a static helper function as got_object_get_path()
|
|
a5b57ccf
|
2019-04-11T13:37:50
|
|
omit unused mode argument to open(2)
|
|
b7011c59
|
2019-04-06T06:05:44
|
|
fix double-free in error path of open_blob()
|
|
a129376b
|
2019-03-29T00:04:52
|
|
add initial implementation of 'got revert'
|
|
7baf5860
|
2019-03-19T12:37:32
|
|
avoid code duplication in error case of open_blob()
|
|
41496140
|
2019-02-21T15:17:36
|
|
prevent double-close(2) of file descriptors passed in imsg
|
|
3a6ce05a
|
2019-02-11T12:32:53
|
|
check for errors from close(2)
|
|
fb43ecf1
|
2019-02-11T11:59:09
|
|
check for errors from fclose()
|
|
cbe7f848
|
2019-02-11T11:35:55
|
|
check for fflush() errors
|
|
0bd18d37
|
2019-02-01T22:16:47
|
|
add potentially useful helpers for tag objects and refs
|
|
5d56da81
|
2019-01-13T17:15:53
|
|
happy new copyright year
|
|
ac544f8c
|
2019-01-13T15:58:39
|
|
pass smallish blobs directly via imsg buffer
|
|
de060dff
|
2018-12-24T17:39:23
|
|
handle zero-length files in open_blob() correctly
|
|
454a6b59
|
2018-12-24T17:32:40
|
|
fix fwrite() call in got_object_blob_dump_to_file()
|
|
b6752625
|
2018-12-24T17:28:46
|
|
fix an unchecked fwrite() call in got_object_blob_dump_to_file()
|
|
aea5f015
|
2018-12-24T14:29:50
|
|
drop dead code from got_privsep_send_obj_req()
|
|
9f2369b0
|
2018-12-24T14:25:18
|
|
make all the read_privsep functions local to object.c
|
|
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
|
|
8524ff9a
|
2018-12-23T23:45:06
|
|
don't clean up twice in start_pack_privsep_child()
|
|
711fb6e8
|
2018-12-23T23:41:25
|
|
de-duplicate some code I copied around in object.c
|
|
a158c901
|
2018-12-23T23:35:37
|
|
make all the _packed_read_privsep() functions local to object.c
|
|
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
|
|
4796fb13
|
2018-12-23T15:09:42
|
|
pass object ID to open_loose_object() instead of an object
|
|
15a94983
|
2018-12-23T14:48:47
|
|
remove struct got_object from public library API
|
|
6fcac457
|
2018-11-19T10:05:28
|
|
store number of lines in int instead of size_t
|
|
b7cd37e5
|
2018-11-19T00:05:48
|
|
eliminate strlen() in got_object_id_by_path()
|
|
3b7f9878
|
2018-11-19T00:04:25
|
|
eliminate strlen() call in got_object_tree_path_changed()
|
|
f4a881ce
|
2018-11-17T16:04:05
|
|
more support for tag objects; new code is not yet reachable
|
|
d1451975
|
2018-11-11T13:52:20
|
|
add custom error code for 'no such tree entry' errors
|
|
91a3d81f
|
2018-11-11T13:41:46
|
|
introduce got errors with custom messages; add one for ERR_NO_OBJ
|
|
63da309a
|
2018-11-07T05:22:46
|
|
tree entries are sorted, so find_entry_by_name() can exit early
|
|
08451938
|
2018-11-05T23:23:23
|
|
no need to zero path during allocation in get_packfile_path()
|
|
f054b67a
|
2018-11-05T22:28:03
|
|
remove object_idcache; use object_idset instead
|
|
984e8a45
|
2018-11-05T21:18:58
|
|
implement object idset with a red-black tree
|
|
29696368
|
2018-11-05T16:58:13
|
|
rename local variable in got_object_tree_path_changed()
|
|
41fa1437
|
2018-11-05T15:30:15
|
|
back out mini-commits; no significant performance difference
|
|
710f3f4e
|
2018-11-05T15:26:18
|
|
make got-read-pack pre-seed the main process mini commit cache
|
|
05e1230b
|
2018-11-05T12:42:03
|
|
rename got_commit_object_mini to got_mini_commit_object
|
|
e32baab7
|
2018-11-05T12:39:49
|
|
add an object cache for mini commits
|
|
7762fe12
|
2018-11-05T11:46:30
|
|
add a mini-commit object for use by commit graph
|
|
77880158
|
2018-11-04T13:09:52
|
|
move code not used by libexec tools out of object_parse.c
|
|
2673a8da
|
2018-09-19T20:01:20
|
|
whitespace
|
|
298a4a4b
|
2018-09-19T20:00:36
|
|
avoid unnecessary strlen() call in find_entry_by_name()
|
|
d9e7e1f6
|
2018-09-19T16:08:32
|
|
match tree entries exactly, not by prefix, in find_entry_by_name()
|
|
71eb0e7f
|
2018-09-16T19:24:26
|
|
eliminate redundant cache search in got_object_open_as_tree()
|
|
434025f3
|
2018-09-16T19:22:12
|
|
eliminate redundant cache search in got_object_open_as_commit()
|
|
e8eb494a
|
2018-09-16T19:18:01
|
|
check caches first in got_object_open_as_{tree,commit}()
|
|
59790a32
|
2018-09-15T21:41:21
|
|
search pack index before doing a stat for loose objects
|
|
65a9bbe9
|
2018-09-15T21:23:55
|
|
avoid strdup in got_object_id_by_path() and got_object_tree_path_changed()
|
|
a31cea73
|
2018-09-15T20:43:39
|
|
fix leaked trees in got_object_tree_path_changed()
|
|
f970fa8a
|
2018-09-15T20:27:04
|
|
fix filtering for directory paths in 'got log'
|
|
07862c20
|
2018-09-15T15:32:22
|
|
introduce got_object_tree_path_changed() and use it in 'got log'
|
|
27d434c2
|
2018-09-15T13:52:06
|
|
replace got_object_open_by_path() with got_object_id_by_path()
|
|
6402fb3c
|
2018-09-15T13:21:51
|
|
change got_object_get_id() semantics; avoids pointless allocations
|
|
2ff12563
|
2018-09-15T12:39:48
|
|
fix 'make PROFILE=1' build
|
|
3840f4c9
|
2018-09-13T00:06:12
|
|
fix "rpath" pledge violation in got-read-pack
|
|
6bef87be
|
2018-09-11T11:23:44
|
|
move object cache out of repository.c to its own file
|
|
55da3778
|
2018-09-10T18:39:31
|
|
read packed blobs with privsep
|
|
e7885405
|
2018-09-10T17:26:06
|
|
read packed trees with privsep
|
|
cfd633c2
|
2018-09-10T17:07:59
|
|
read packed commits with privsep
|
|
876c234b
|
2018-09-10T12:30:47
|
|
start reading pack files with privsep; still WIP
|
|
7e212e3d
|
2018-09-09T17:24:46
|
|
make got_packfile_extract_object_to_mem() accept pack instead of repo
|
|
24140570
|
2018-09-09T17:19:27
|
|
make got_packfile_extract_object() accept a pack instead of a repo
|
|
2090a03d
|
2018-09-09T17:00:33
|
|
make got_packfile_open_object() accept a pack instead of a repo
|
|
ad242220
|
2018-09-08T16:40:28
|
|
implement fork+exec (and by the way, fix the build...)
|
|
03fa71c8
|
2018-09-06T17:42:46
|
|
move some more functions from object.c to object_parse.c
|
|
a440fac0
|
2018-09-06T17:33:13
|
|
move object parsing code into a separate file
|
|
11cdebc1
|
2018-09-03T00:59:21
|
|
remove unused argument from read_commit_object_privsep()
|
|
cd31e911
|
2018-07-23T17:49:17
|
|
fix a leak and use recallocarray in read_object_header()
|
|
7a132809
|
2018-07-23T11:41:06
|
|
fix leak in object_path()
|
|
fa2f6902
|
2018-07-23T11:30:26
|
|
use got_object_qid_free() consistently
|
|
ca008b32
|
2018-07-22T15:38:50
|
|
fix leak in got_object_open_by_path()
|
|
062ebb78
|
2018-07-13T00:30:22
|
|
replace some calloc() with malloc() in object.c
|
|
dbc6a6b6
|
2018-07-12T19:05:28
|
|
allow going back to previously blamed commits in tog blame
|
|
84451b3e
|
2018-07-10T13:17:00
|
|
implement incremental blame display for tog
|
|
63581804
|
2018-07-09T22:23:00
|
|
rename zbuf to inflate
|
|
883f0469
|
2018-06-23T17:57:39
|
|
make struct got_tree_object opaque
|
|
4842267f
|
2018-06-22T20:51:08
|
|
remove unnecessary fdopen()
|
|
cc538cdd
|
2018-06-22T11:45:31
|
|
fix mem leak introduced with caching: actually close objects
|
|
1943de01
|
2018-06-22T10:46:10
|
|
add a commit cache as well
|
|
f6be5c30
|
2018-06-22T10:33:04
|
|
add a tree object cache to struct got_repository
|
|
7bb0daa1
|
2018-06-22T01:53:06
|
|
add a very simple object cache
|
|
835e0dbd
|
2018-06-21T23:42:37
|
|
init output param of got_object_open_as_*
|
|
a19581a2
|
2018-06-21T22:04:27
|
|
implement got_object_open_as_blob()
|
|
67606321
|
2018-06-21T21:40:51
|
|
fix path length accounting in got_object_open_by_path()
|
|
db37e2c0
|
2018-06-21T21:32:13
|
|
rename 'entry' to 'te' in got_object_open_by_path()
|