Commits


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


gotweb does not actually use anything from worktree.c or fileindex.c


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!


document new 'got rebase' behaviour when commits do not need to be rebased


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


remove unused variables to fix LLVM 13 warnings; ok stsp


use up to 128 delta chain elements again; creates smaller packs at same speed


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.


bump version number


changes for 0.63


set oldo.to in diff3.c's duplicate() even if the file contains no newlines


always initialize output parameter "n" of get_line() in diff3.c


tog: add Ctrl-n/Ctrl-p shortcuts scrolling one line down/up; patch by Omar Polo


fix another segfault in edscript() Same problem as fixed in 90de04bc7f1b85b9c491bcd124f6178fad005de1. ok stsp


fix regression where 'got send -T' failed if same tag already exists on server Problem reported and fix tested by Omar Polo.


bump version number


CHANGES for 0.62


plug memory leak in an error path of read_packed_object()


fix wrong function names in error messages from got-index-pack.c


make 'gotadmin indexpack' unveil the repository read/write, not read-only


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.


move encode_delta() in pack_create.c to eliminate a forward declaration


while packing, store encoded deltas in a temporary file instead of in memory


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.


raw object blocksize and read buffer were unused; remove them