Log

Author Commit Date CI Message
Omar Polo 32b5305f 2022-02-12T09:34:03 new test: `got diff' on files matched by an ignore pattern
Stefan Sperling 2b474c25 2022-02-11T22:45:00 use murmurhash instead of sha1 for deltification blocks; suggested by ori
Stefan Sperling 1ac8bad9 2022-02-11T22:44:35 reduce minimum deltification chunk size to 32; suggested by ori
Stefan Sperling 916237f3 2022-02-11T22:42:50 fix 'got diff' on files which match an ignore pattern; found by Omar Polo
Omar Polo 5a20d08d 2022-02-09T14:59:46 tweak error reporting due to invalid numbers Use the same idiom as in the strtonum(3) manpage which produces a more readable error message. OK kn, stsp
Stefan Sperling d75b4088 2022-02-08T10:52:17 set zlib output buffer length properly after resizing the output buffer ok millert naddy
Stefan Sperling a9bd296d 2022-02-08T10:48:04 fix infinite loop in got-index-pack for pack files >= 4GB in size Because of a missing range check our zlib wrapper would end up calling zlib over and over with zero bytes of input. Problem reported by semarie and naddy. Fixed with help from millert@. ok millert naddy
Omar Polo 1d918cf9 2022-02-06T14:56:36 improve error message due to malformed `author' in got.conf tweak and ok stsp@
Stefan Sperling 9b4603c0 2022-01-31T16:27:14 improve 'got add' error message if file does not exist; reported by Timo Myyrä ok tracey
Stefan Sperling c7b17232 2022-01-28T18:07:47 fix loose object file header parser for zero-length headers ok millert tracey
Stefan Sperling a47330a2 2022-01-27T22:32:09 fix 'got status' reporting all directories on NFS mounts as unversioned Problem found and fix tested by Ted Bullock. ok millert, naddy
Stefan Sperling 8264d9ee 2022-01-27T12:05:24 fix wrong imsg name in errors raised by got_privsep_send_tree_req()
Stefan Sperling 9296b03b 2022-01-26T10:33:52 remove unnecessary local variable from got_privsep_get_imsg_obj()
Stefan Sperling d1b988e3 2022-01-26T10:33:52 add missing initialization of delta list in got_privsep_get_imsg_obj()
Stefan Sperling 0ee7a4dc 2022-01-26T10:33:21 fix double-free and double-close issues in error paths of got_packidx_open()
Stefan Sperling 692bdcc4 2022-01-25T22:48:26 make 'got rm' report an "unexpected status" error for unversioned files ok millert@
Stefan Sperling 4e12cd97 2022-01-25T22:48:26 make 'got rm' behave like rm(1) for paths found missing on disk ok millert@
Tracey Emery 4362cf9c 2022-01-24T16:44:19 style
Tracey Emery b3f4d550 2022-01-24T16:36:16 unbreak gotweb index when pack files are missing
Stefan Sperling 969ea98d 2022-01-24T08:04:11 remove non-reachable 'return NULL' statement from report_single_file_status()
Stefan Sperling cc488aa7 2022-01-23T15:35:19 show rebase and histedit backups in tog ref view ok naddy
Stefan Sperling 72840534 2022-01-19T12:04:58 compress delta data from delta_cache directly into pack file
Stefan Sperling 30ee8dc8 2022-01-18T20:51:19 add missing error check in got_inflate_to_mem_mmap()
Stefan Sperling ef2f551e 2022-01-12T09:32:40 add -t option to 'got branch' synopsis in got.1 man page
Stefan Sperling 15a578da 2022-01-11T15:41:20 bump version number
Stefan Sperling 21ecd399 2022-01-11T15:37:58 CHANGES for 0.66
Stefan Sperling 3bfc2334 2022-01-11T15:37:06 fix file corruption regression in 'got checkout' caused by commit db696021 got-read-pack must rewind its files temporary files before reusing them. Problem reported by naddy ok tracey naddy
Stefan Sperling 3976db15 2022-01-10T14:46:30 add missing checks for reads beyond the mapped memory area of a pack file
Stefan Sperling 402a5ec1 2022-01-10T13:13:16 set a cap on the amount of memory we use to store encoded deltas
Stefan Sperling 5060d5a1 2022-01-10T11:09:25 encode short deltas in memory instead of writing them to a temporary file
Stefan Sperling 64a8571e 2022-01-07T23:32:27 map raw object files into memory while packing if possible
Stefan Sperling 59b21794 2022-01-07T14:33:52 only open raw objects if necessary while writing out pack file data significantly speeds up the "writing pack: " step of gotadmin pack
Stefan Sperling 0f71f619 2022-01-06T22:30:35 fix wrong path in a comment
Stefan Sperling a4a4db77 2022-01-06T22:25:21 mention that additional copyright holders and licencing statements exist
Stefan Sperling f209666c 2022-01-06T22:16:34 happy new year
Stefan Sperling e3cbec1a 2022-01-06T22:03:18 bump version number
Stefan Sperling 81c0cc1e 2022-01-06T21:38:18 CHANGES for 0.65
Stefan Sperling 2471f5c4 2022-01-06T19:20:52 sync files from diff.git b72f51ffc39028023059fc994542565691b669fa This fixes a scrolling problem in tog's diff view for diffs which contain lines of the form "Binary files %s and %s differ".
Stefan Sperling dbe266a4 2022-01-05T20:24:13 print status output even if 'gotadmin cleanup' finds no objects to remove
Stefan Sperling 9cd5f067 2022-01-05T20:14:59 fix amount of purged objects shown in gotadmin cleanup's final progress report
Stefan Sperling a075bd5b 2022-01-05T19:59:29 sync dist file list
Stefan Sperling 211cfef0 2022-01-05T19:57:10 use time-based rate-limiting for gotadmin progress output Suggested by naddy some time ago. ok tracey
Stefan Sperling db696021 2022-01-04T16:11:52 avoid the creation of new temporary files whenever a packed object is read This speeds up the creation of pack files by about 30%.
Stefan Sperling 404bde06 2022-01-03T21:51:02 fix bogus "object not found" errors when object ID begins with 00 ok thomas_adam
Stefan Sperling a8a244dd 2022-01-03T11:50:14 simpler fix equivalent to the previous commit
Stefan Sperling 5988bab1 2022-01-03T11:48:22 make test_cherrypick_root_commit pass with GOT_TEST_PACK=1
Stefan Sperling c861864b 2022-01-03T11:34:34 'got stage' tests rely on unreferenced loose objects; disable GOT_TEST_PACK=1
Stefan Sperling 6fa5c67c 2022-01-03T11:16:56 remove loose objects if running tests with GOT_TEST_PACK
Stefan Sperling 0a26275f 2022-01-03T11:11:06 use 'gotadmin pack' instead of 'git repack' if testing with GOT_TEST_PACK
Stefan Sperling c0df5966 2021-12-31T09:33:01 wrap overlong lines
Stefan Sperling e7ae0baf 2021-12-31T09:11:22 add O_CLOEXEC (close-on-exec) to openat(2) calls suggested by millert ok thomas_adam
Stefan Sperling 8bd0cdad 2021-12-31T09:11:21 add O_CLOEXEC (close-on-exec) flag to open(2) calls suggested by millert ok thomas_adam
Stefan Sperling 00fe21f2 2021-12-31T09:11:21 add "e" (close-on-exec) flag to fopen(3) calls suggested by millert ok thomas_adam
Stefan Sperling ed7cc4a8 2021-12-29T12:03:33 remove outdated comment
Christian Weisgerber 67b5eae1 2021-12-27T19:01:57 tog: clear search highlighting when reloading view Clear the search highlighting when replacing the content of a diff view ('<', '>', '[', ']', 'a', 'w') or a blame view ('b', 'p', 'B'). Previously the position would remain highlighted even if the text there had changed. ok stsp@ or a blame view
Stefan Sperling 197088a4 2021-12-27T05:20:04 whitespace
Stefan Sperling 8a4f8535 2021-12-27T05:19:52 fix NULL dereference in 'got clone' if server sends an empty pack file
Stefan Sperling 46ea77db 2021-12-20T16:18:41 sort paths in got log -Pp and tog's diff view the same way as in the diff reported by and fix confirmed by naddy
Stefan Sperling 487cd7d2 2021-12-17T22:38:55 make tog searches start from the current position in all views ok naddy@
Stefan Sperling 4a55b231 2021-12-09T16:10:25 ignore the return value of closefrom(2); patch by Anna a.k.a. CyberTailor millert@ suggests that this check is not needed, and that ideally we should be using close-on-exec instead. I will look into this, but in the meantime this change will help -portable: https://bugs.gentoo.org/828003
Stefan Sperling 5a5ede53 2021-12-09T15:03:48 let new 'tog log' searches start out from the currently selected commit ok naddy tracey
Stefan Sperling f6f4c787 2021-11-23T19:12:49 sync files from diff.git f1dbec24f9a9553e22659f6c592c91e96221f6b9
Stefan Sperling 88e107c9 2021-11-23T15:39:57 bump version number
Stefan Sperling 9fe19ceb 2021-11-23T14:54:48 CHANGES for 0.64
Thomas Adam 10b394ac 2021-11-23T12:52:59 regress: make merge.sh more POSIXy Don't use '==' for equality matching in sh, as this won't work across all shells. ok @naddy
Thomas Adam 566e0ee7 2021-11-22T22:32:25 regress: make test operands POSIX compliant Since the interpreter for the regress shell scripts are using /bin/sh this will usually imply some level of POSIX compliance (that isn't bash-specific, for instance). Some systems use dash as their sh shell and as such is stricter POSIX compliance. To help -portable, make the shell test checks use a single '=' for equality, rather than '=='.
Stefan Sperling 1a37462f 2021-11-22T18:28:05 sync dist file list
Stefan Sperling 07a065fe 2021-11-20T21:22:53 switch tog ref view's sort order command key to "o" instead of "s" The letter "o" does not overlap with existing options of 'got ref' and is also used by mutt(1) for this purpose.
Stefan Sperling f76670f0 2021-11-20T11:33:31 add got branch -t option to sort listed branches by modification time
Stefan Sperling 42864987 2021-11-20T11:14:44 fall back to comparison by name when refs have the same timestamp This fixes an issue where some references were missing from lists of references sorted by timestamp.
Stefan Sperling 0f104432 2021-11-20T11:05:27 add got ref -t option to sort listed references by modification time
Stefan Sperling 50617b77 2021-11-20T10:41:38 make tog use got_reflist_sort() instead of reloading refs while sorting them
Stefan Sperling 2d497592 2021-11-20T10:40:33 implement got_reflist_sort() which sorts a ref list in-place
Stefan Sperling 0309152a 2021-11-20T10:39:04 fix uninitialized error from got_ref_cmp_by_commit_timestamp_descending()
Stefan Sperling 7f66531d 2021-11-16T14:33:26 allow sorting references by timestamp in tog
Stefan Sperling 0e039681 2021-11-15T17:00:36 preverse binary files during updates and merges
Stefan Sperling 7d69d862 2021-11-15T15:18:40 let gotadmin find the repository automatically if invoked in a work tree Move a small amount of code from worktree.c to a new file worktree_open.c, which contains everything required to open and close a work tree and inspect some of its basic parameters. This can be used by gotadmin. ok tracey
Stefan Sperling 7cc76137 2021-11-14T10:34:31 gotweb does not actually use anything from worktree.c or fileindex.c
Klemens Nanni 4683a10b 2021-11-04T13:16:06 Fix mandoc HTML rendering for command aliases Replace hand-rolled parentheses with the proper mdoc(7) macro, otherwise the closing ")" ends up inside the command description. Reported by Josh Rickmar, thanks!
Stefan Sperling 2af61735 2021-11-03T22:13:50 document new 'got rebase' behaviour when commits do not need to be rebased
Josh Rickmar 3d42b266 2021-11-03T21:42:33 switch branches during noop rebases Always update to the specified branch even if the branch is already rebased (no commits needed to be rebased, and the branch does not need a fast forward). With the old behavior of erroring and staying on the current branch, I sometimes found myself ignoring the error message, treating it as information and assuming the branch update, and later on committing on top of origin/main instead of the main branch. feedback and ok stsp
Christian Weisgerber 47a90748 2021-10-27T15:23:59 remove unused variables to fix LLVM 13 warnings; ok stsp
Stefan Sperling 22edbce7 2021-10-24T09:41:04 use up to 128 delta chain elements again; creates smaller packs at same speed
Stefan Sperling 4f4d853e 2021-10-24T09:41:04 try only 3 delta base candidates instead of 10 to speed up packing Tests by kn, thomas_adam and myself made on various repositories indicate that 3 is a good choice. Tyring 10 deltas is much slower and does not result in significantly smaller pack files.
Stefan Sperling a9e66726 2021-10-17T17:46:49 bump version number
Stefan Sperling f1028e98 2021-10-17T17:45:32 changes for 0.63
Stefan Sperling 15a5c949 2021-10-17T14:12:46 set oldo.to in diff3.c's duplicate() even if the file contains no newlines
Stefan Sperling 8383a50b 2021-10-17T14:11:32 always initialize output parameter "n" of get_line() in diff3.c
Stefan Sperling 02ffd0d5 2021-10-17T13:51:52 tog: add Ctrl-n/Ctrl-p shortcuts scrolling one line down/up; patch by Omar Polo
Christian Weisgerber 4f18c400 2021-10-16T15:01:42 fix another segfault in edscript() Same problem as fixed in 90de04bc7f1b85b9c491bcd124f6178fad005de1. ok stsp
Stefan Sperling 92410079 2021-10-16T14:50:03 fix regression where 'got send -T' failed if same tag already exists on server Problem reported and fix tested by Omar Polo.
Stefan Sperling 2e3a6c3b 2021-10-16T10:38:27 bump version number
Stefan Sperling d89fbca5 2021-10-16T10:21:34 CHANGES for 0.62
Stefan Sperling 8347f8e7 2021-10-15T17:17:52 plug memory leak in an error path of read_packed_object()
Stefan Sperling 07965a0d 2021-10-15T17:08:54 fix wrong function names in error messages from got-index-pack.c
Stefan Sperling 802c0f04 2021-10-15T17:05:12 make 'gotadmin indexpack' unveil the repository read/write, not read-only
Christian Weisgerber 0c82d267 2021-10-15T15:18:30 sync with OpenBSD parse.y Explicitly cast "char" to "unsigned char" when assigned to "int" to prevent sign extension from breaking comparions against EOF or passing invalid arguments to ctype functions.
Stefan Sperling a319ca8c 2021-10-15T10:36:12 move encode_delta() in pack_create.c to eliminate a forward declaration
Stefan Sperling 74881701 2021-10-15T10:34:44 while packing, store encoded deltas in a temporary file instead of in memory
Stefan Sperling dc20764a 2021-10-15T09:30:29 limit delta chain length in newly created pack files to 32 deltas Our former limit was 128 which is fairly high. Git uses 50 by default. A smaller limit results in slightly larger pack files but makes both packing and unpacking faster.