Log

Author Commit Date CI Message
Stefan Sperling 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.
Stefan Sperling f6d88e1a 2019-05-29T14:45:50 fix lack of NUL termination of a path; bug exposed by new realpath(3)
Stefan Sperling 5e70831e 2019-05-28T14:54:11 make 'got diff' display absolute reference names
Stefan Sperling cd628e99 2019-05-28T14:46:04 mark const variables as such
Stefan Sperling e02e74af 2019-05-28T14:43:25 make it possible to pass reference names to 'got diff'
Stefan Sperling 67409a31 2019-05-24T16:10:24 tog: if opening a tree view for a logged file, jump to that file
Stefan Sperling a1fb16d8 2019-05-24T14:51:46 make moved branch head references easier to deal with
Stefan Sperling 7ccf8259 2019-05-24T12:52:59 fix wrong command in got.1 EXAMPLES
Stefan Sperling 7915fa67 2019-05-23T22:26:55 got-read-pack memory usage is looking good now
Stefan Sperling 79c99a64 2019-05-23T22:24:13 don't leak objects which can't be cached
Stefan Sperling 6869fb7f 2019-05-23T21:56:42 remove unused include in got-read-pack
Stefan Sperling cb5e38fd 2019-05-23T21:52:49 fix some leaks in got-read-pack
Stefan Sperling 704b89c4 2019-05-23T21:44:01 make got-read-pack actually use its object cache
Stefan Sperling ff563a3d 2019-05-23T21:04:23 replace got_pack_get_packfile_size() with simple fstat()
Stefan Sperling fa6e0e48 2019-05-23T16:27:12 suggest a better interim workflow in got.1
Stefan Sperling 57377f07 2019-05-23T14:50:57 stat .idx file to determine its size, not the .pack file
Stefan Sperling f363d663 2019-05-23T10:25:19 add a test for 'got commit' with a conflicted file
joshua stein 0d0c539e 2019-05-22T10:43:30 got_opentemp_named: include path in error message
Stefan Sperling a3da3b61 2019-05-22T17:11:55 document an idea which might speed up processing of deltas
Stefan Sperling 43205691 2019-05-22T16:34:04 improve documentation of got log -b
Stefan Sperling 499d7ecc 2019-05-22T16:19:11 rename got log's -f option to -b
Stefan Sperling 540feb51 2019-05-22T16:14:55 add examples for 'got log' in got.1
Stefan Sperling e70c17ce 2019-05-22T16:05:23 extend got.1 EXAMPLES section
Stefan Sperling cc43886e 2019-05-22T15:28:17 improve wording of an error message
Stefan Sperling d969fa15 2019-05-22T15:20:10 inform the user when switching branches
Stefan Sperling 01cd7614 2019-05-22T14:06:03 add cache debug output for too large elements
Stefan Sperling a60c9e77 2019-05-22T13:48:28 don't cache objects larger than 1MB
Stefan Sperling 6331840f 2019-05-22T13:06:33 fix got_error_from_errno() arguments in inflate.c
Stefan Sperling da506691 2019-05-22T13:00:28 set_max_datasize() should be a static function
Stefan Sperling b3a605ce 2019-05-22T12:58:40 no need to zero memory in got_inflate_to_mem_mmap()
Stefan Sperling f2c5fe0e 2019-05-22T12:58:26 no need to zero memory in got_inflate_to_mem_fd()
Stefan Sperling d1078c40 2019-05-22T12:55:26 add a TODO item
Stefan Sperling 691332dd 2019-05-22T12:54:45 increase GOT_INFLATE_BUFSIZE (trades memory usage for speed)
Stefan Sperling 6dc3b75a 2019-05-22T12:54:14 no need to zero memory in got_inflate_to_mem()
Stefan Sperling b48e2ddb 2019-05-22T12:31:30 set datasize limit of got-read-pack helpers to maximum
Stefan Sperling 1a35c1bc 2019-05-22T11:48:27 fix double-frees in error path when resolving deltas fails
Stefan Sperling 78527a0a 2019-05-22T11:13:53 move a comment to a better place and expand it
Stefan Sperling cc79381d 2019-05-22T11:00:20 NUL-terminate empty logmsg buffer for strlcat(3) Because the logmsg output buffer was not NUL-terminated after allocation, strlcat(3) could append log message contents copied from the temporary file at a wrong memory location. In the case observed by me, this bug resulted in a broken commit object.
Stefan Sperling d4592c7c 2019-05-22T10:51:35 catch fopen(3) failure in collect_commit_logmsg()
Stefan Sperling 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.
Stefan Sperling e4d984c2 2019-05-22T10:02:45 expand test coverage: partial update with parent dir as argument
Stefan Sperling b03c880f 2019-05-21T13:47:20 fix handling of non-directories in change from previous commit
Stefan Sperling 941e9f74 2019-05-21T13:32:41 tog: if opened from log view, open tree view at path being logged
Stefan Sperling 8cbe5809 2019-05-21T11:08:12 plug /dev/null file descriptor leaks in diffreg.c
Stefan Sperling 8656d6c4 2019-05-20T16:31:38 make struct got_commitable opaque to library users
Stefan Sperling a3df2849 2019-05-20T16:02:16 fix bug reproduced by xfail test 'test_commit_added_subdirs'
Stefan Sperling 32e06003 2019-05-15T21:00:49 add another TODO item
Stefan Sperling a351b7ff 2019-05-15T20:59:25 add a tog TODO item
Stefan Sperling 7d45c7f1 2019-05-15T07:31:58 error.c: use <limits.h> instead of <sys/param.h>
Stefan Sperling df056ada 2019-05-15T07:27:06 introduce got_error_path()
Stefan Sperling b28fe61a 2019-05-15T07:15:57 apply_unveil(): use GOT_DIR_NOT_EMPTY
Stefan Sperling 196d54c7 2019-05-15T07:15:27 define message for error code GOT_ERR_DIR_NOT_EMPTY
Stefan Sperling 59544d4d 2019-05-15T07:12:03 fix wording in error message
Stefan Sperling 2ee32b23 2019-05-15T07:09:37 fix build with -DGOT_OBJ_CACHE_DEBUG
Stefan Sperling 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)
Stefan Sperling 19e70ad6 2019-05-14T16:33:38 make 'tog log' default to the current branch in a work tree
Stefan Sperling 1cc14b9f 2019-05-14T16:27:16 make 'got log' default to the current branch in a work tree
Stefan Sperling 45d344f6 2019-05-14T14:31:54 make 'got checkout' verify that specified branch and commit match
Stefan Sperling a367ff0f 2019-05-14T14:23:00 make 'got update' verify that provided commit and branch match
Stefan Sperling efa2b6f7 2019-05-14T13:52:17 another typo fix
Stefan Sperling d5751d49 2019-05-14T13:49:58 fix typo in comment
Stefan Sperling 72e28b48 2019-05-14T13:27:40 add jcs to AUTHORS
Stefan Sperling 024e9686 2019-05-14T13:22:16 add branch support to 'got update'
Stefan Sperling 08573d5b 2019-05-14T12:16:51 add branch support to 'got checkout'
Stefan Sperling 8d301dd9 2019-05-14T11:35:15 use cmp -s, instead of cmp, in all command line tests
Stefan Sperling 3eada727 2019-05-14T11:33:09 cosmetic tweak to xfail test output
Stefan Sperling 8ba6ba2d 2019-05-14T11:31:57 add new test test_commit_added_subdirs (xfail)
Stefan Sperling 3941b73a 2019-05-14T11:30:38 allow cmdline tests to report test result 'xfail' (expected failure)
Stefan Sperling b416585c 2019-05-13T18:19:59 store file's base commit ID in got_commitable and use it for OOD check
Stefan Sperling 016a88dd 2019-05-13T18:02:39 report base commit of fileindex entries to status callback
Stefan Sperling c4e12a88 2019-05-13T17:52:58 rename got_commitable's 'base_id' to 'base_blob_id'; more obvious
Stefan Sperling eb029fd6 2019-05-13T17:35:07 tog man page: fix lists of single-line scrolling keys
Stefan Sperling eb6c77f2 2019-05-13T17:30:43 update 'got ref' branch creation example
Stefan Sperling 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.
Stefan Sperling 6e472abb 2019-05-13T17:27:39 fix a segfault in got_ref_open()
joshua stein a60a9dc4 2019-05-13T11:21:00 tog: implement ctrl+f/b for diff view, sync man page
joshua stein c3e9aa98 2019-05-13T11:14:46 tog: at eof in diff view, print (END) like less does
Stefan Sperling d83d9d5c 2019-05-13T17:16:28 make it possible to duplicate another reference with 'got ref'
Stefan Sperling aedda007 2019-05-13T17:09:11 make open_ref() tolerate missing reference dirs and files
Stefan Sperling c191ed66 2019-05-13T17:08:16 allow single-component reference names with got_ref_alloc()
Stefan Sperling 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.
Stefan Sperling 08680430 2019-05-13T13:59:50 mention where code for got_path_find_prog() came from
Stefan Sperling 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.
Stefan Sperling 23594da9 2019-05-13T13:25:58 document new got commit features
Stefan Sperling 163ce85a 2019-05-13T13:11:18 apply_unveil() doesn't call err(3) so rename 'error' to 'err'
Stefan Sperling 3809565b 2019-05-13T13:09:17 missing error check in apply_unveil()
Stefan Sperling 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
Stefan Sperling 82751bc5 2019-05-13T12:48:44 fix typo in error message and improve indentation
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
Stefan Sperling e0870e44 2019-05-13T12:37:36 store commit message in work tree and leave it there in case of error
Stefan Sperling e2ba3d07 2019-05-13T11:58:33 reenable unveil for 'got commit'; keep spawn_editor() working
Stefan Sperling cc5481cb 2019-05-13T11:29:37 remove pointless goto in collect_commit_logmsg()
Stefan Sperling fcde04d9 2019-05-13T11:26:18 another malloc failure check in collect_commit_msg()
Stefan Sperling 793c30b5 2019-05-13T11:19:48 use got_opentemp_named_fd() in collect_commit_logmsg()
Stefan Sperling 9f42ff69 2019-05-13T11:15:16 check malloc failure in collect_commit_logmsg()
Stefan Sperling 19332e6d 2019-05-13T11:04:22 avoid undefined behaviour (comparison with string literal)
Stefan Sperling d5bea539 2019-05-13T10:56:28 fix linear ancestry verification check for 'got update'
Stefan Sperling a9833bc9 2019-05-13T10:56:15 add got_commit_graph_find_youngest_common_ancestor()
joshua stein 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
Stefan Sperling bd14628f 2019-05-12T19:19:55 update help string of 'got add' for multiple file support