|
a351b7ff
|
2019-05-15T20:59:25
|
|
add a tog TODO item
|
|
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()
|
|
b28fe61a
|
2019-05-15T07:15:57
|
|
apply_unveil(): use GOT_DIR_NOT_EMPTY
|
|
196d54c7
|
2019-05-15T07:15:27
|
|
define message for error code GOT_ERR_DIR_NOT_EMPTY
|
|
59544d4d
|
2019-05-15T07:12:03
|
|
fix wording in error message
|
|
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)
|
|
19e70ad6
|
2019-05-14T16:33:38
|
|
make 'tog log' default to the current branch in a work tree
|
|
1cc14b9f
|
2019-05-14T16:27:16
|
|
make 'got log' default to the current branch in a work tree
|
|
45d344f6
|
2019-05-14T14:31:54
|
|
make 'got checkout' verify that specified branch and commit match
|
|
a367ff0f
|
2019-05-14T14:23:00
|
|
make 'got update' verify that provided commit and branch match
|
|
efa2b6f7
|
2019-05-14T13:52:17
|
|
another typo fix
|
|
d5751d49
|
2019-05-14T13:49:58
|
|
fix typo in comment
|
|
72e28b48
|
2019-05-14T13:27:40
|
|
add jcs to AUTHORS
|
|
024e9686
|
2019-05-14T13:22:16
|
|
add branch support to 'got update'
|
|
08573d5b
|
2019-05-14T12:16:51
|
|
add branch support to 'got checkout'
|
|
8d301dd9
|
2019-05-14T11:35:15
|
|
use cmp -s, instead of cmp, in all command line tests
|
|
3eada727
|
2019-05-14T11:33:09
|
|
cosmetic tweak to xfail test output
|
|
8ba6ba2d
|
2019-05-14T11:31:57
|
|
add new test test_commit_added_subdirs (xfail)
|
|
3941b73a
|
2019-05-14T11:30:38
|
|
allow cmdline tests to report test result 'xfail' (expected failure)
|
|
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
|
|
eb029fd6
|
2019-05-13T17:35:07
|
|
tog man page: fix lists of single-line scrolling keys
|
|
eb6c77f2
|
2019-05-13T17:30:43
|
|
update 'got ref' branch creation example
|
|
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()
|
|
a60a9dc4
|
2019-05-13T11:21:00
|
|
tog: implement ctrl+f/b for diff view, sync man page
|
|
c3e9aa98
|
2019-05-13T11:14:46
|
|
tog: at eof in diff view, print (END) like less does
|
|
d83d9d5c
|
2019-05-13T17:16:28
|
|
make it possible to duplicate another reference with 'got ref'
|
|
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()
|
|
314a6357
|
2019-05-13T14:45:34
|
|
got commit can't use unveil with an editor
Theo says unveil(2) is supposed to traverse exec(2) (though
this seems to be broken or not implemented at present).
In which case the commmit message editor would find itself
without access to files it needs (startup config files,
shared libs, user's home dir, etc.)
Apply unveil after the log message has been written.
|
|
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.
|
|
23594da9
|
2019-05-13T13:25:58
|
|
document new got commit features
|
|
163ce85a
|
2019-05-13T13:11:18
|
|
apply_unveil() doesn't call err(3) so rename 'error' to 'err'
|
|
3809565b
|
2019-05-13T13:09:17
|
|
missing error check in apply_unveil()
|
|
baf4288f
|
2019-05-13T12:52:57
|
|
tog: don't clear diff view contents when indicating diff progress
this is much easier on the eyes when moving through diffs
|
|
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()
|
|
e0870e44
|
2019-05-13T12:37:36
|
|
store commit message in work tree and leave it there in case of error
|
|
e2ba3d07
|
2019-05-13T11:58:33
|
|
reenable unveil for 'got commit'; keep spawn_editor() working
|
|
cc5481cb
|
2019-05-13T11:29:37
|
|
remove pointless goto in collect_commit_logmsg()
|
|
fcde04d9
|
2019-05-13T11:26:18
|
|
another malloc failure check in collect_commit_msg()
|
|
793c30b5
|
2019-05-13T11:19:48
|
|
use got_opentemp_named_fd() in collect_commit_logmsg()
|
|
9f42ff69
|
2019-05-13T11:15:16
|
|
check malloc failure in collect_commit_logmsg()
|
|
19332e6d
|
2019-05-13T11:04:22
|
|
avoid undefined behaviour (comparison with string literal)
|
|
d5bea539
|
2019-05-13T10:56:28
|
|
fix linear ancestry verification check for 'got update'
|
|
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
|
|
bd14628f
|
2019-05-12T19:19:55
|
|
update help string of 'got add' for multiple file support
|
|
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()
|
|
6f10d58e
|
2019-05-12T16:07:35
|
|
be less clever: don't nest 'case' inside if (...)
no functional change
|
|
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
|
|
00ba99a7
|
2019-05-12T10:22:32
|
|
tog: remove view_flash(), just stop when at first/last entries
|
|
e350feed
|
2019-05-12T12:59:21
|
|
document new tog key codes
|
|
87c7274c
|
2019-05-12T10:26:50
|
|
tog: space acts as enter
|
|
a4292ac5
|
2019-05-12T10:25:37
|
|
tog: control+f and b for page down and up
|
|
1e37a5c2
|
2019-05-12T10:13:46
|
|
tog: align case statements with switch
|
|
47ec7be7
|
2019-05-11T21:54:32
|
|
wording tweak in got man page
|
|
15cd91f7
|
2019-05-11T21:51:55
|
|
improve 'got commit' documentation
|
|
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
|
|
fbb7e5c7
|
2019-05-11T19:00:13
|
|
got add's file path argument is not optional
|
|
8125ddca
|
2019-05-11T18:59:25
|
|
update 'got add' documentation
|
|
1dd54920
|
2019-05-11T18:50:57
|
|
open the file index just once when adding multiple files
|
|
2b01eb6c
|
2019-05-11T18:49:40
|
|
verify expected output in test_add_multiple and actually run this test
|
|
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
|
|
723c305c
|
2019-05-11T15:53:37
|
|
got: support adding multiple files at a time
make adding files already in the file-index not a fatal error
|
|
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)
|
|
7fbaa4f3
|
2019-05-11T10:29:42
|
|
strip trailing slashes from more paths passed by command line
|
|
5486daa2
|
2019-05-11T10:29:23
|
|
fix -r option of 'got log'
|
|
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()
|
|
a0937847
|
2019-05-11T09:33:11
|
|
fix checkout to non-existing directories in parents other than /tmp
|
|
324d37e7
|
2019-05-11T09:14:30
|
|
make got path APIs available to library consumers
|
|
384417cb
|
2019-05-11T09:00:57
|
|
strip all trailing slashes from work tree path, not just first one
|
|
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
|
|
13bfb272
|
2019-05-10T18:46:23
|
|
got: remove trailing slash from worktree_path
avoids a double slash when building a path in got_worktree_init
|
|
18779d58
|
2019-05-10T18:44:50
|
|
got: fix typo in git-repository.5
|
|
7b67836a
|
2019-05-10T18:45:27
|
|
run tests with MALLOC_OPTIONS=S
|
|
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
|