lib


Log

Author Commit Date CI Message
Stefan Sperling bb51a5b4 2020-01-13T10:28:58 add -E option to 'got checkout' allowing use of a non-empty work tree path needed by and ok kn@
Theo Buehler 455de7fa 2020-01-12T19:41:31 Avoid out of bounds access if path is "/". From Martin <openbsd () academicsolutions ! ch> with tweaks by me. ok stsp
Stefan Sperling 87c1ed2b 2020-01-07T21:50:38 don't bother swapping the first pack index cache pointer, and improve comment
Stefan Sperling f73df793 2020-01-07T21:02:16 increase tag cache size; makes tog more responsive when many tags exist
Stefan Sperling e1a68182 2020-01-07T17:49:17 fix pack index cache; don't open/close pack index files needlessly
Stefan Sperling ca6e02ac 2020-01-07T11:14:52 add support for first-parent history traversal to got-read-pack
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling e40b19ed 2020-01-06T16:16:51 fix reading ref deltas with GOT_PACK_NO_MMAP builds
Stefan Sperling b87b4170 2020-01-06T14:10:36 rename to parsed_tree_entries_free for clarity (don't use with got_tree_object)
Stefan Sperling b64b1f95 2020-01-06T13:10:00 plug a memory leak; parsed tree entries were not freed
Stefan Sperling fa7a529e 2020-01-06T12:21:37 disable delta cache in GOT_NO_OBJ_CACHE builds
Stefan Sperling cbfaaf20 2020-01-06T12:15:54 add missing check for errors from imsg_get()
Stefan Sperling 32c85d2c 2020-01-06T00:01:59 revert e7a5b9e9b763327a7e1ddd69f6bc533565d60794; it changed blame output
Stefan Sperling 1accf02b 2020-01-05T19:32:21 detect duplicate object IDs during ambiguity check; packed regress passes now
Stefan Sperling e7a5b9e9 2020-01-05T00:23:54 commit graph's close_branch() can be inlined in one place
Stefan Sperling df8cd9c6 2020-01-05T00:11:11 small simplification in got_commit_graph_iter_next()
Stefan Sperling a450c2bf 2020-01-05T00:05:39 remove a misleading comment
Stefan Sperling 48595de1 2020-01-04T23:58:45 remove redundant code from add_node_to_iter_list()
Stefan Sperling 94489f7d 2020-01-04T23:54:53 remove commit graph iter_node pointer; use the iter_list head instead
Stefan Sperling 5175b31a 2020-01-04T21:51:24 improve commit graph's error handling of non-existent paths
Stefan Sperling 7e33c8c5 2020-01-04T21:31:55 no need to open a commit in got_commit_graph_iter_start()
Stefan Sperling 3ff3126d 2020-01-04T21:28:00 simplify got_commit_graph_iter_start(); adding an ID to open_branches suffices
Stefan Sperling 14159a7b 2020-01-04T21:15:59 remove unused 'node' parameter from advance_branch()
Stefan Sperling 8e291695 2020-01-04T21:12:59 commit graph's idset data pointers were not actually used
Stefan Sperling 57eecd46 2020-01-04T20:06:38 remove pointless output parameters from fetch_commits_from_open_branches()
Stefan Sperling ec1904dc 2020-01-04T19:55:21 fix error in previous commit
Stefan Sperling 13a851c1 2020-01-04T19:50:01 simplify changed-path and branch-done detection in commit graph
Stefan Sperling de56b2d7 2020-01-04T19:39:29 move changed-path detection out of add_node() in commit graph
Stefan Sperling 88cdb9c6 2020-01-04T18:51:14 init TAILQ earlier in got_commit_graph_open(), just in case
Stefan Sperling a342f20d 2020-01-04T18:47:57 remove a redundant call to detect_changed_path() in commit graph
Stefan Sperling 22220781 2020-01-04T18:36:07 simplify error handling in got_commit_graph_open()
Stefan Sperling 3ddcebf3 2020-01-04T18:31:19 merge alloc_graph() into got_commit_graph_open()
Stefan Sperling 3d509237 2020-01-04T18:25:28 simplify got_commit_graph_open()
Stefan Sperling 11d7587e 2020-01-04T17:57:01 replace commit graph's head_node pointer with a local variable
Stefan Sperling ee780d5c 2020-01-04T15:44:13 remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead
Stefan Sperling e51d7b55 2020-01-04T08:35:17 prevent rebase with an out-of-date work tree
Stefan Sperling 7f47418f 2019-12-20T15:54:59 make 'got checkout' and 'got update' work with read-only repositories but warn users about the garbage collection problem
Stefan Sperling 965988c5 2019-12-16T12:40:02 plug memory leak introduced in commit 6fc93f379e4f736797334532691d298244b2b014
Stefan Sperling fdcb7daf 2019-12-15T11:15:48 always unlink merged temporary files if an error occurs
Stefan Sperling 2ad902c0 2019-12-15T11:03:52 use fchmod() instead of chmod() to tweak permissions of a merged temp file
Stefan Sperling 32d2fb48 2019-12-15T10:53:14 add missing error checks to an openat() call
Stefan Sperling 60522982 2019-12-15T10:35:13 fix wrong function names in errno error messages
Stefan Sperling 886cec17 2019-12-15T10:33:27 close races with concurrent filesystem modification when reading ignore files
Tracey Emery 70e3e7f5 2019-12-13T20:05:57 add -k option to 'got remove' to keep files on disk ok stsp
Stefan Sperling ab0d4361 2019-12-13T12:00:10 fix leak in an error path of get_file_status()
Stefan Sperling 882ef1b9 2019-12-13T11:19:26 fix fstatat() and openat() error checking in get_file_status()
Stefan Sperling 3d35a492 2019-12-13T11:10:25 avoid opening the file in get_file_status() if possible
Stefan Sperling 82223ffc 2019-12-13T11:09:40 fix wrong function name in errno error message
Stefan Sperling 22902794 2019-12-13T11:02:05 this lseek() call in read_dirlist() isn't needed
Stefan Sperling 12463d8b 2019-12-13T11:52:18 address some of the file descriptor vs. path races in status callbacks
Stefan Sperling 7f91a133 2019-12-13T11:05:04 open files during status crawl in a race-free way, too
Stefan Sperling ae8965b9 2019-12-13T10:42:39 add missing fdopendir() error check in read_dirlist()
Stefan Sperling 6fc93f37 2019-12-13T10:36:41 prevent the status crawl from racing with paths changing in the filesystem
Stefan Sperling f4d199c9 2019-12-13T10:02:48 oops, fix previous
Stefan Sperling 43ff8261 2019-12-13T10:01:49 check for fclose() failure in get_file_status()
Stefan Sperling 1338848f 2019-12-13T09:38:52 open the file just once in get_file_status()
Tracey Emery f2a9dc41 2019-12-13T00:29:28 add -R option to 'got remove' for recursive deletion ok stsp
Stefan Sperling dbb83fbd 2019-12-13T00:27:57 there's no need to store a directory path in struct schedule_addition_args ok tracey
Tracey Emery 022fae89 2019-12-06T16:18:26 Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.
Stefan Sperling 2c98ee28 2019-11-29T04:35:09 NAME_MAX does not account for a terminating NUL
Stefan Sperling cd95becd 2019-11-29T02:46:04 parse remotes from gitconfig
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling cd9e913a 2019-11-27T01:34:30 pre-allocate the correct amount of memory in got_privsep_send_tree()
Stefan Sperling 5f25cc85 2019-11-26T22:43:12 remove obj->path_packfile which is unused nowadays; saves a few free() calls
Stefan Sperling 3b647085 2019-11-23T21:03:29 plug leaks in error paths of got_privsep_send_tree()
Stefan Sperling 7f358e3b 2019-11-23T21:03:29 eliminate redundant memcpy in got_privsep_send_tree_req()
Stefan Sperling 3fd4eb5a 2019-11-23T10:13:53 fold a function call onto a single line
Stefan Sperling 4e68cba3 2019-11-23T10:11:54 add -R option to 'got add' for recursive addition (patch by Tracey Emery)
Stefan Sperling 3022d272 2019-11-14T17:12:32 reduce the amount of memcpy() and strdup() while parsing tree entries
Stefan Sperling c3b318d0 2019-11-10T15:51:05 add debug stats to delta cache
Stefan Sperling ab2f42e7 2019-11-10T15:51:05 cache delta data buffers in an LRU cache
Stefan Sperling 42c69117 2019-11-10T15:51:05 stop storing decompressed delta data in struct got_delta; fetch it on demand
Stefan Sperling 6dd1ece6 2019-11-10T11:32:03 when an object id string is bad, include the bad string in the error message
Stefan Sperling 5e6be232 2019-11-08T21:55:41 fix reading pack files larger than 2GB; ok tb@; problem found by mpi@
Stefan Sperling 5d67f40d 2019-11-08T16:23:17 rename 'got init' and 'got import' default branch to "main"; patch by kmos@
Stefan Sperling 7b5dc508 2019-10-28T10:31:50 fix staging of multiple files with -p ok semarie
Stefan Sperling 937e0e58 2019-10-21T10:53:42 fix build on sparc64 (uninitialized variable)
Stefan Sperling c30018ad 2019-10-21T09:04:57 ignore empty files in refs directory; convert parse_ref_file() to getline(3)
Stefan Sperling 8b692cd0 2019-10-21T09:04:57 remove lock files, as intended, when reintegrate gets aborted
Stefan Sperling f69721c3 2019-10-21T09:04:57 show base commit hash and omit filenames in conflict markers
Stefan Sperling 46f68b20 2019-10-19T11:06:56 show file mode differences when diffing trees
Stefan Sperling 523b8417 2019-10-19T11:06:55 handle xbit-only changes during 'got update'
Stefan Sperling 1ebedb77 2019-10-19T11:06:55 teach 'got commit' to tweak the executable bit of a file
Stefan Sperling 2822a352 2019-10-15T11:38:27 add 'got integrate' command
Stefan Sperling d136cfcb 2019-10-12T07:33:12 show original file content in conflict markers
Stefan Sperling c6368c2e 2019-10-11T09:10:54 properly handle read errors in got_packidx_init_hdr (found by jj@ scan-build)
Stefan Sperling d59c0cb2 2019-10-09T08:55:19 improve use of mixed size_t/off_t types in diff3.c's edscript()
Stefan Sperling b2338eff 2019-10-09T08:45:51 diff3.c: do not use the same variables for both line numbers and byte offsets
Stefan Sperling 88775814 2019-10-09T08:30:54 diff3.c's skip() returns number of bytes skipped so switch from int to size_t
Stefan Sperling 96cbb597 2019-10-09T08:24:38 remove worklist code; it was only used to unlink files which we already unlink
Stefan Sperling 68bda3b1 2019-10-09T08:20:05 diff3.c: check for unlink errors and unlink dp13 and dp23 again
Stefan Sperling 9688d20a 2019-10-09T08:02:04 rename local variable in diff3.c's edscript() from j to len (not a loop index)
Stefan Sperling 9d4a5e89 2019-10-09T07:57:27 rename local variable in diff3.c's skip() from j to len (not a loop index)
Stefan Sperling db330080 2019-10-09T07:45:59 remove pointless attempt of unlinking temporary file name template paths
Stefan Sperling e4531130 2019-10-09T07:35:37 do not leak open file in diff3.c's readin() error paths
Stefan Sperling 971405a7 2019-10-09T07:32:03 do not abuse d3s->fp[0] as a local variable in diff3.c's readin()
Stefan Sperling 50351dee 2019-10-09T07:26:28 remove unused 'pr' argument from diff3.c's skip() function
Stefan Sperling 24b5452a 2019-10-09T06:50:28 show bad reference names in error messages to make such errors more clear
Stefan Sperling 575e8218 2019-10-07T10:26:33 more mechanical conversions to struct got_error: buf_load() and buf_alloc()
Stefan Sperling 63035f9f 2019-10-06T19:24:31 add -w (ignore whitespace) option to 'got diff'