|
a484d721
|
2019-06-10T12:10:37
|
|
don't report base-bump-only updates as 'already up to date'
|
|
1a36436d
|
2019-06-10T11:58:32
|
|
relax out-of-dateness check for 'got commit'
|
|
46b6ee73
|
2019-06-04T20:59:48
|
|
rename some variables
|
|
af12c6b9
|
2019-06-04T16:49:20
|
|
ensure that file index is synced to disk in case of errors
|
|
e20a8b6f
|
2019-06-04T16:35:01
|
|
allow multiple file path arguments for 'got revert'
|
|
07f5b47a
|
2019-06-02T21:30:22
|
|
don't leak 'relpath' memory in got_worktree_schedule_add()
|
|
17ed4618
|
2019-06-02T21:24:17
|
|
allow removing multiple paths at once for 'got rm'
|
|
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
|
|
f6d88e1a
|
2019-05-29T14:45:50
|
|
fix lack of NUL termination of a path; bug exposed by new realpath(3)
|
|
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.
|
|
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'
|
|
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
|
|
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)
|
|
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
|
|
2f17228e
|
2019-05-11T21:18:39
|
|
lock branch reference file during 'got commit' to prevent a race
|
|
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
|
|
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
|
|
324d37e7
|
2019-05-11T09:14:30
|
|
make got path APIs available to library consumers
|
|
4229330b
|
2019-05-10T18:44:42
|
|
fix allocation size in alloc_added_blob_tree_entry()
|
|
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
|
|
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
|
|
ca2503ea
|
2019-05-07T22:04:43
|
|
writing the lowest level of trees works now
|
|
cf745477
|
2019-05-07T21:00:24
|
|
whitespace
|
|
69960a46
|
2019-05-07T20:38:42
|
|
don't try to get dirname of a basename
|
|
ef2a1e11
|
2019-05-07T20:30:05
|
|
fix another segfault
|
|
c42269f6
|
2019-05-07T20:29:19
|
|
fix a segfault
|
|
0b5cc0d6
|
2019-05-07T20:24:47
|
|
more work on getting parent trees of commitables written
|
|
ed175427
|
2019-05-07T19:53:44
|
|
more progress on generating new tree entries
|
|
24519714
|
2019-05-07T12:01:17
|
|
collect tree ids for committables
|
|
a7055788
|
2019-05-07T11:45:10
|
|
pass the right path to got_object_blob_create()
|
|
cf066bf8
|
2019-05-07T11:42:54
|
|
create blobs
|
|
7a10a625
|
2019-05-07T11:29:45
|
|
open base commit tree correctly
|
|
675c7539
|
2019-05-07T11:28:15
|
|
do status walk before opening base commit/tree
|
|
a855e33f
|
2019-05-07T11:25:52
|
|
add a comment marking where to collect the log message
|
|
c4296144
|
2019-05-07T10:17:36
|
|
WIP commit implementation
|
|
0584f854
|
2019-04-06T08:03:09
|
|
implement cancellation support for diff and status operations
|
|
c4cdcb68
|
2019-04-03T16:17:53
|
|
add support for partial updates, which affect specific paths only
|
|
a129376b
|
2019-03-29T00:04:52
|
|
add initial implementation of 'got revert'
|
|
fc6346c4
|
2019-03-27T12:51:30
|
|
don't leave file as unversioned in case of wt edit vs repo rm
|
|
13d9040b
|
2019-03-27T12:33:41
|
|
test and improve behaviour for wt edit vs repo rm conflict
|
|
708d8e67
|
2019-03-27T12:00:59
|
|
fix behaviour when update deletes an edited file
|
|
7154f6ce
|
2019-03-27T09:22:15
|
|
make 'got status' detect and indicate merge conflict markers
|
|
1430b4e0
|
2019-03-27T08:18:28
|
|
treat 'add vs add' on update as a text conflict for now
|
|
71a29355
|
2019-03-27T07:48:54
|
|
fix behaviour when 'got rm' is used twice
|
|
5c99ca9f
|
2019-03-27T07:41:37
|
|
fix behaviour when 'got add' is used twice
|
|
031a5338
|
2019-03-26T10:46:18
|
|
make got_worktree_schedule_add() report 'added' via status_cb
|
|
2ec1f75b
|
2019-03-26T10:35:33
|
|
add a basic implementation of 'got rm'
|
|
d00136be
|
2019-03-26T09:03:53
|
|
implement a basic 'got add' command
|
|
6c7ab921
|
2019-03-18T16:48:18
|
|
introduce got_worktree_resolve_path()
|
|
ddcd8544
|
2019-03-11T19:57:53
|
|
move worktree-specific error handling out of got_path_mkdir()
|
|
0647c563
|
2019-03-11T19:18:30
|
|
remove path portion from worktree base commit ref name
|
|
517bab73
|
2019-03-11T19:06:13
|
|
deduplicate code for constructing a worktree's base ref name
|
|
0c48fee2
|
2019-03-11T18:15:28
|
|
refuse to create got worktree at a git repo path
|
|
0cd1c46a
|
2019-03-11T18:07:33
|
|
create references to base commits of got worktrees
|
|
f02eaa22
|
2019-03-11T14:27:35
|
|
better error if .got directory is missing files
|
|
bd165944
|
2019-03-10T15:56:38
|
|
plug memleak in got_open_worktree()
|
|
c442a90d
|
2019-03-10T15:55:28
|
|
read UUID back from work tree meta data
|
|
ec22038e
|
2019-03-10T15:45:57
|
|
add a UUID to work tree meta data
|
|
70a0c8ec
|
2019-02-20T10:35:33
|
|
preserve permissions on merged files
|
|
2a57020b
|
2019-02-20T09:43:09
|
|
clean up temp files if rename(2) fails
|
|
65ad4e61
|
2019-02-20T08:37:01
|
|
improve wording of a comment in merge_blob()
|
|
80c5c120
|
2019-02-19T13:38:08
|
|
missing fread(3) error check in get_file_status()
|
|
d10c9b58
|
2019-02-19T13:23:04
|
|
missing stat error check in read_meta_file()
|
|
68c76935
|
2019-02-19T13:20:39
|
|
update cached timestamps of files left unmodified after a merge
|
|
3cbbd752
|
2019-02-19T12:55:43
|
|
fix get_file_status() for files larger than blob read buffer size
|