|
03415a1a
|
2019-06-02T20:31:34
|
|
allow 'got cherrypick' with a root commit (adds all files in commit)
|
|
a8db5ed8
|
2019-06-02T18:39:00
|
|
remove unused fields from struct merge_file_cb_arg
|
|
2b92fad7
|
2019-06-02T17:52:19
|
|
test and fix expected file status after 'got cherrypick'
|
|
9c6338c4
|
2019-06-02T17:10:29
|
|
introduce sync_fileindex() helper in worktree.c
|
|
234035bc
|
2019-06-01T13:35:47
|
|
add 'got cherrypick' command
|
|
aaa13589
|
2019-06-01T15:25:13
|
|
generalize got_diff_tree() by adding a diff output callback
|
|
1de5e065
|
2019-06-01T14:44:21
|
|
use got_object_tree_find_entry() instead of local copy in diff.c
|
|
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.
|
|
f6d88e1a
|
2019-05-29T14:45:50
|
|
fix lack of NUL termination of a path; bug exposed by new realpath(3)
|
|
79c99a64
|
2019-05-23T22:24:13
|
|
don't leak objects which can't be cached
|
|
ff563a3d
|
2019-05-23T21:04:23
|
|
replace got_pack_get_packfile_size() with simple fstat()
|
|
57377f07
|
2019-05-23T14:50:57
|
|
stat .idx file to determine its size, not the .pack file
|
|
0d0c539e
|
2019-05-22T10:43:30
|
|
got_opentemp_named: include path in error message
|
|
01cd7614
|
2019-05-22T14:06:03
|
|
add cache debug output for too large elements
|
|
a60c9e77
|
2019-05-22T13:48:28
|
|
don't cache objects larger than 1MB
|
|
6331840f
|
2019-05-22T13:06:33
|
|
fix got_error_from_errno() arguments in inflate.c
|
|
da506691
|
2019-05-22T13:00:28
|
|
set_max_datasize() should be a static function
|
|
b3a605ce
|
2019-05-22T12:58:40
|
|
no need to zero memory in got_inflate_to_mem_mmap()
|
|
f2c5fe0e
|
2019-05-22T12:58:26
|
|
no need to zero memory in got_inflate_to_mem_fd()
|
|
691332dd
|
2019-05-22T12:54:45
|
|
increase GOT_INFLATE_BUFSIZE (trades memory usage for speed)
|
|
6dc3b75a
|
2019-05-22T12:54:14
|
|
no need to zero memory in got_inflate_to_mem()
|
|
b48e2ddb
|
2019-05-22T12:31:30
|
|
set datasize limit of got-read-pack helpers to maximum
|
|
1a35c1bc
|
2019-05-22T11:48:27
|
|
fix double-frees in error path when resolving deltas fails
|
|
c932eeeb
|
2019-05-22T10:25:50
|
|
make 'got update' bump the base commit ID of unchanged files
This change makes it actually possible to get around commit-time
out-of-dateness by running 'got update'.
The test added with this commit shows that our out-of-dateness
check is currently too simplistic; an update is required between
any two commit operations! It would be better to allow commits to
proceed until a situation arises where file content must be merged.
|
|
8cbe5809
|
2019-05-21T11:08:12
|
|
plug /dev/null file descriptor leaks in diffreg.c
|
|
8656d6c4
|
2019-05-20T16:31:38
|
|
make struct got_commitable opaque to library users
|
|
a3df2849
|
2019-05-20T16:02:16
|
|
fix bug reproduced by xfail test 'test_commit_added_subdirs'
|
|
7d45c7f1
|
2019-05-15T07:31:58
|
|
error.c: use <limits.h> instead of <sys/param.h>
|
|
df056ada
|
2019-05-15T07:27:06
|
|
introduce got_error_path()
|
|
2ee32b23
|
2019-05-15T07:09:37
|
|
fix build with -DGOT_OBJ_CACHE_DEBUG
|
|
f6912001
|
2019-05-15T06:51:55
|
|
spawn more pack file helpers again now that leaks got fixed
/usr/src updates have become slower for some reason and my best
guess is that caching of packed data has become less effective
with df613bb4d8662c28a9888714a80ca572bff9d924 (leaks were
subsequently fixed by 2cb49fa8fb84f3a8fc2eb6036a6bd9b64c57e347
and by 0dd5271bd8f2a4f92ac3536fcc493eebc39b86e5)
|
|
024e9686
|
2019-05-14T13:22:16
|
|
add branch support to 'got update'
|
|
08573d5b
|
2019-05-14T12:16:51
|
|
add branch support to 'got checkout'
|
|
b416585c
|
2019-05-13T18:19:59
|
|
store file's base commit ID in got_commitable and use it for OOD check
|
|
016a88dd
|
2019-05-13T18:02:39
|
|
report base commit of fileindex entries to status callback
|
|
c4e12a88
|
2019-05-13T17:52:58
|
|
rename got_commitable's 'base_id' to 'base_blob_id'; more obvious
|
|
0f148cb7
|
2019-05-13T17:28:57
|
|
revert c191ed664f6c437ebc3e0c859c53e48b445401f1
'got ref' should only work with naked ref names;
implicitly putting things into 'refs/heads' is a job for
something like a 'got branch' command.
|
|
6e472abb
|
2019-05-13T17:27:39
|
|
fix a segfault in got_ref_open()
|
|
aedda007
|
2019-05-13T17:09:11
|
|
make open_ref() tolerate missing reference dirs and files
|
|
c191ed66
|
2019-05-13T17:08:16
|
|
allow single-component reference names with got_ref_alloc()
|
|
08680430
|
2019-05-13T13:59:50
|
|
mention where code for got_path_find_prog() came from
|
|
0ee7065d
|
2019-05-13T13:56:40
|
|
make 'got commit' look up EDITOR in PATH
The previous code only worked if EDITOR contained an absolute path.
|
|
82751bc5
|
2019-05-13T12:48:44
|
|
fix typo in error message and improve indentation
|
|
638f9024
|
2019-05-13T12:40:57
|
|
rename got_error_prefix_errno() to got_error_from_errno()
|
|
19332e6d
|
2019-05-13T11:04:22
|
|
avoid undefined behaviour (comparison with string literal)
|
|
a9833bc9
|
2019-05-13T10:56:15
|
|
add got_commit_graph_find_youngest_common_ancestor()
|
|
33ad4cbe
|
2019-05-12T19:53:17
|
|
implement spawning an editor to collect a commit message
bails on empty messages, trims leading and trailing newlines
this currently disables the unveil in the commit process because
it's not compatible with spawning the editor
also prevent commits when there are no changes
|
|
f5c58ad1
|
2019-05-12T18:05:59
|
|
fix leftover lockfiles from parse_ref_file()
|
|
a875589a
|
2019-05-12T17:55:03
|
|
fix locking of packed ref file in got_ref_open()
|
|
0885ce8f
|
2019-05-12T17:48:22
|
|
handle well-known refs more obviously in got_ref_open()
|
|
5b575c25
|
2019-05-12T17:45:10
|
|
don't hide errors in got_ref_open()
|
|
7f2a8dc2
|
2019-05-12T15:33:37
|
|
plug fd leak in got_path_dir_is_empty()
|
|
280f921b
|
2019-05-12T15:30:43
|
|
heed API namespace: got_dir_is_empty -> got_path_dir_is_empty
|
|
3c45a30a
|
2019-05-12T14:56:24
|
|
checkout: if worktree path exists and is empty, suppress mkdir failure
|
|
2f17228e
|
2019-05-11T21:18:39
|
|
lock branch reference file during 'got commit' to prevent a race
|
|
03df25b3
|
2019-05-11T19:13:10
|
|
disallow directories with 'got add'; add a TODO item for them
|
|
1dd54920
|
2019-05-11T18:50:57
|
|
open the file index just once when adding multiple files
|
|
2af4a041
|
2019-05-11T16:21:20
|
|
got_error_set_errno: take a char arg to pass to got_error_prefix_errno
$> got rm a
got: : No such file or directory
becomes
$> got rm a
got: /path/to/a: No such file or directory
|
|
e009fd0f
|
2019-05-11T14:30:02
|
|
identify an error source correctly
|
|
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)
|
|
48b8b0eb
|
2019-05-11T10:40:57
|
|
error: introduce got_error_prefix_errno for better errno messages
|
|
10689f3a
|
2019-05-11T10:30:34
|
|
error: fix definition of got_error_from_errno
|
|
72151b04
|
2019-05-11T09:37:08
|
|
introduce got_path_strip_trailing_slashes()
|
|
324d37e7
|
2019-05-11T09:14:30
|
|
make got path APIs available to library consumers
|
|
0dd5271b
|
2019-05-10T19:57:25
|
|
plug fd leak in got_pack_stop_privsep_child()
|
|
2cb49fa8
|
2019-05-10T19:41:58
|
|
revert eb73a30f7effc51c1cfee2864102635e3659f87a
Not waiting for children can make us blow the fork() ulimit with
lingering zombies; the Ctrl-C issue will need some other fix.
|
|
df613bb4
|
2019-05-10T19:21:28
|
|
fork less pack file readers to avoid running into ulimits
|
|
4229330b
|
2019-05-10T18:44:42
|
|
fix allocation size in alloc_added_blob_tree_entry()
|
|
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
|
|
0f63689d
|
2019-05-10T18:20:01
|
|
remove unnecessary allocation in match_ct_parent_path()
|
|
ce0de6b6
|
2019-05-10T18:16:20
|
|
fix memleak in write_tree()
|
|
797eca75
|
2019-05-10T18:16:03
|
|
remove dead code
|
|
9ba0479c
|
2019-05-10T15:09:13
|
|
fix memleaks in write_tree()
|
|
36a38700
|
2019-05-10T14:53:03
|
|
stop caching head ref's value in struct got_worktree; may become stale
|
|
1251a9e5
|
2019-05-10T13:06:00
|
|
note potential problem in the existing out-of-dateness check
|
|
d56d26ce
|
2019-05-10T11:24:37
|
|
move out-of-dateness check to a helper function
|
|
7200e87c
|
2019-05-10T11:19:49
|
|
handle blobs deleted in HEAD correctly in commit out-of-date check
|
|
819f385b
|
2019-05-10T11:16:09
|
|
ensure that commits use intended base blobs for changes
|
|
e75eb4da
|
2019-05-10T10:55:08
|
|
rename field in 'struct commitable'
|
|
588edf97
|
2019-05-10T10:52:00
|
|
commit against the HEAD commit, not the work tree's base commit
|
|
44d03001
|
2019-05-09T17:07:33
|
|
don't traverse into unmodified subtrees during commit
|
|
8eecaf36
|
2019-05-09T16:18:14
|
|
don't close a tree in the wrong place; fixes a bus error crash
|
|
bc70eb79
|
2019-05-09T15:45:21
|
|
fix bug in concurrent commit check and add another commit test
|
|
09f5bd90
|
2019-05-09T15:33:57
|
|
try to detect concurrent commits; not perfect yet (see comments)
|
|
768aea60
|
2019-05-09T14:41:50
|
|
fix perms in committed tree entries
|
|
f2c16586
|
2019-05-09T13:50:52
|
|
update HEAD reference after commit
|
|
b249b824
|
2019-05-09T13:47:59
|
|
add APIs to change references
|
|
ebf99748
|
2019-05-09T13:22:33
|
|
update fileindex after commit
|
|
baa7dcfa
|
2019-05-08T20:00:37
|
|
don't visit added subtrees reundantly
|
|
afa376bf
|
2019-05-08T19:18:45
|
|
report commit item status
|
|
9d40349a
|
2019-05-08T18:49:54
|
|
add TODO comments
|
|
de18fc63
|
2019-05-08T18:37:37
|
|
write commit objects
|
|
2f51b5b3
|
2019-05-08T17:02:01
|
|
handle added subtrees during commit
|
|
036813ee
|
2019-05-08T12:17:01
|
|
more progress on commits: write trees recursively
|
|
eb4304b9
|
2019-05-08T12:16:03
|
|
fix problems with "/" in two path helper functions
|
|
ca2503ea
|
2019-05-07T22:04:43
|
|
writing the lowest level of trees works now
|
|
cf745477
|
2019-05-07T21:00:24
|
|
whitespace
|