- repair build on OpenBSD/sparc64 (patch by Ted Bullock)
- fix crash in gotd if client gets disconnected on error (reported by Mikhail)
- fix crash in got-send-pack when server does not announce any capabilities
- make gotd work as intended on an empty repository
- prevent freeing of bogus pointers in got_inflate_end() and got_deflate_end()
- reduce delta cache size to avoid running out of memory on large pack files
- add missing free of delta buffers in several error paths
- make 'got clone -b' work for repositories which lack a valid HEAD reference
- use sub-second precision when checking for objects/pack/ modification
- fix capabilities announced by gotsh when no references exist in repository
- gotsh.1: Use Sx for referencing EXAMPLES (patch by Josiah Frentsos)
- change got_pack_parse_offset_delta tslen argument to size_t (op)
- fix regression test failures with Git 2.30.5 / 2.38.1 or later installed
- fix gotd(8) usage() string (patch by Josiah Frentsos)
- regress/rebase.sh: remove accidentally included absolute path to "got" (naddy)
- fix off_t type mismatches in printf format string arguments (naddy, op)
- fix spelling of "FastCGI" (patch by Josiah Frentsos)
- add missing `goto done;' on error path of read_raw_delta_data() (op)
- add bounds check when reading a delta offset from a packed object (op)
- check size before calling mmap(2) (op)
- sort getopt() option lists and switch statements (patch by Josiah Frentsos)
- make got.conf(5) warn about remotes configured in locally-shared repositories
- add missing check for errors from got_gotconfig_read() in open_worktree()
- plug a memory leak on error in got_gotconfig_read()
- convert pack filesize variables to off_t for large packs on 32-bit arch (op)
- remove sendfd pledge promise from gotd repo_read and repo_write processes
- add gotctl(8); initially supported commands are 'info' and 'stop'
- respect umask when creating or changing files and directories (op)
- fix typo which caused a double-free in gotd repo_write_shutdown()
- got-fetch-pack: fix wrong memmove length leading to dubious checksum failures
- avoid incomplete writes of pack file data in gotsh and got-send-pack
- add a test suite for gotd(8); check basic clone and send functionality
- require space between commit author name and email, for Git compatibility
- gotwebd: avoid 500 error code if erroring out in plaintext mode (landry)
- gotwebd: add respect_exportok flag, defaulting to off (landry)
- respect open files resource limit when sizing pack cache; regression from 0.71
- provide a diff of changes in a temp file while editing a commit log message
- fix memory and file descriptor leak for raw objects (regression from 0.77)
- remove casts which made older gcc versions unhappy
- fix free of wrong address on error in gotweb's parse.y
- disallow integrating into references outside refs/heads/ (jrick)
- gotwebd.conf: add syntax for defining macros and document them (op)
- simplify the way 'got patch' opens a tempfile when reading from stdin
- lots of refactoring to allow gotd(8) code to run without libexec helpers
- more refactoring to allow gotd(8) to stream packfile data on network sockets
- add missing error checking around some unlink(2) syscalls
- don't crash if delta cache is missing while combining deltas; for dev builds
- allow got_object_parse_tree() to reuse entries buffer allocations for speed
- show a more useful error if the size of a packed object won't fit in 64 bits
- switch integers used for counting objects while indexing packs to unsigned
- refresh cached list of pack index paths while searching a packed object
- introduce gotd(8) and gotsh(1); WIP and not yet provided in binary packages
- close parent's end of imsg pipe before waiting for a child process to exit
- fix detection of SIGTERM in tog; this signal was accidentally being ignored
- avoid printing harmless errors that can occur when tog exits due to Ctrl-C
- gotwebd documentation fixes
- tog: extend log view author highlight colour to full field width (jamsek)
- tog: make headline highlight extend the full view width (jamsek)
- make got_commit_graph_iter_next use caller-provided storage for the id (op)
- tog: add new log view limit feature to filter commits (patch by Mikhail + op)
- tog: respect current cursor position during log search (patch by Mikhail)
- tog: implement runtime help accessible via H,F1 keymaps (jamsek)
- add gotadmin init -b <branch> to specify repo head ref (jamsek)
- ensure got patch respects x-bit perms for new files (jamsek)
- gotwebd: drop needless NULL check (op)
- show file mode for new added files in work tree diffs (jamsek)
- fix wrong function prototypes shown in diff hunk headers (thj@freebsd, jamsek)
ok tracey@
too many changes to list all here; see git repository history for more
- unlink temporary files created during ssh signature verification
- add gotwebd, a fast-cgi server and successor of gotweb (tracey)
- lots of release-preparation work on gotwebd (naddy, op, tracey, stsp)
- cast argument of type rlim_t to unsigned long long to match the %llu (naddy)
- tog: add key to toggle author/committer in log view (op)
- make our email address parsing closer to Git's parsing rules (op)
- got commit: add -A flag to specify the author of a patch (op)
- tog: alias J and K to > and < keybindings for diff view (patch by Mikhail)
- fix 'got cat' printing commit author instead of committer (op)
- tog: add 'L' key to blame view; opens log view for the annotated line (jamsek)
- don't chug along if repo format version is unsupported (florian)
- fix dead stores to variables, found with LLVM's scan-build (florian)
- fix unitialized error return (florian)
- make sure got_repo_pack_fds_close() frees a malloc'ed pointer (florian)
- prevent memory leak when asprintf fails (florian)
- prevent use-after-free of packed_refs_path in error path (florian)
- got_repo_pack_fds_close: don't close(0) (patch by Lucas)
- reset committer's name+email during rebase and histedit
- tog: fix unintentional move of cursor after closing child views (jamsek)
- tog: uppercase all the key maps which open new views (jamsek)
- make 'got histedit' fetch author info from Git configuration as a fallback
- fix 'got patch -R' when using diff3 merge (op)
- add GOT_IGNORE_GITCONFIG env var to force ignoring of Git config files
- fix off_t type mismatches (naddy)
- got patch: error if patchfile isn't a regular file (op)
- make 'got patch' apply pledge(2) earlier (op)
- got/tog diff: fix accounting for line-endings in files containing CRLF (op)
- got patch: add -c flag to apply at a specified commit (op)
- fix two missing error checks in tog (found by florian with scan-build)
- remove pointless repo_close + leaked error (found by florian with scan-build)
- tog: add n{G,g} key map to jump to line n like less(1) (jamsek)
- diff: re-alloc arrays in larger chunks for up to 3x more performance (jamsek)
- fix whitespace-related issues when 'got patch' is matching a hunk (op)
- tog: add keymaps to jump to next/prev file/hunk in the diff view (jamsek)
- fix 'got tag' not tagging the work tree's current branch by default
- tog log: don't block while loading commits after 'G' key was pressed (jamsek)
- man pages: group options in accordance to style(9) (patch by Josiah Frentsos)
- man pages: Replace 'Ar sign' with 'Cm sign' (patch by Josiah Frentsos)
- don't add trailing \0 to signed tag objects; fixes interop with Github (jrick)
- use Xo/Xc in the man pages (patch by Josiah Frentsos)
- fix diffing two blobs by object ID with 'got diff' (jamsek)
- refresh pack-index path list if mtime of the objects/pack directory changed
- diff3: switch diff output mode from "edscript" to "plain" (patch by Tom Jones)
- use the faster plain-diff headers-only mode for diff3
- do not segfault while verifying "lightweight" tags (jrick)
- don't search through ignored paths and files on commit (sdk)
- plug a lot of memory leaks (op)
- forbid rebase of references outside the "refs/heads/" namespace
- fflush(stdout) after asking questions; improves got-portable behaviour (op)
- fix bug where 'got branch -lt' produced duplicate listings of a branch
- tog: ensure stdin is a tty to guard against 'tog < /dev/null' etc. (jamsek)
- cast printf argument of type time_t to long long to match the %lld (naddy)
- add missing revoked_signers grammar to got.conf(5) (jrick)
- move 'got init' command to 'gotadmin init'
- regress test SSH key revocations (jrick)
- long overdue update of AUTHORS lists in man pages
- add signer_id option to got.conf(5) (jrick)
- delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
- regress: use bs=1M for dd, not bs=1m; fixes -portable test failure on ubuntu
- fix buf_alloca error handling (op)
- some privsep.c refactoring and cleanup (op)
- tog: implement global 'S' key map to switch split mode (jamsek)
- tog: implement +/- keymaps to resize the focussed split (jamsek)
- make 'tog log' error out in shallow Git repositories instead of hanging
- tog: enable moving to prev/next blame line in diff view (jamsek)
- improve documentation of the histedit 'mesg' command
- histedit script: allow mesg command only after pick or edit commands (op)
- for linux, fix usage of pipe(2) during SSH signing and verification (jrick)
- got patch: use diff3 to merge changes if possible (op)
- tog: alias C-b/C-f to scroll page back/forward with b/f (jamsek)
- tog: make SPACE page down in all views (naddy)
- tog: allow prefixing movement keys with count modifier (jamsek)
- always show commit or tree IDs in diff header, in order to help 'got patch'
- build non-release builds with -Wwrite-strings (op)
- got patch: handle git-style diffs for the 3-way merge too (op)
- implement support for commit coloring in got-read-pack for speed
- move got_opentemp out of open_blob and blame.c for future gotwebd (tracey)
- move got_opentemp out of diff.c and diffreg.c for future gotwebd
- tog: refactor log cursor movement in preparation for horizontal split (jamsek)
- tog: implement support for horizontal splitscreens (jamsek)
- switch 'tog diff' and 'tog blame' to Myers diff by default for speed
- make the diff algorithm used by 'tog diff' and 'tog blame' configurable
- make the patch parser look for the next "diff" header for robustness (op)
- got patch: don't loose the x bit when merging with diff3 (op)
- got patch: handle mangled whitespace (op)
- fix "imsg_add TREE_ENTRY: Result too large" error on i386 (semarie, op)
- create and verify tags signed by SSH keys (jrick)
- tog: add C-g/backspace key map to abort compound commands (jamsek)
- rename got.conf(5) fetch-all-branches to fetch_all_branches for consistency
- rename got.conf(5) mirror-references to mirror_references for consistency
- use pipe() which is a more portable syscall than pipe2() (jrick)
- got patch: check for specific chars instead of using isspace(3) (op)
- fix "bad offset in pack file" error due to uninitialized variable (op)
- initialize all variables used for sending privsep messages to zero (op)
- tog: reset search state after Ctrl-L to fix a use-after-free (op)
- fix unexpected imsg error after incomplete enumeration in got-read-pack
- tog: heed selection cursor position while searching (patch by Mikhail)
- got patch: fail when reading empty hunks (op)
- got patch: switch from fseek() to fseeko(), use unary minus (naddy)
- got patch: avoid open/sync/close of the fileindex over and over again (op)
- make got_privsep_recv_tree() reject trees with less than zero entries
- plug memory leak in an error path of got_privsep_recv_tree()
- prevent an out-of-bounds access in got_privsep_recv_tree()
- parse tree entries into an array instead of a pathlist for speed
- batch up tree entries in imsg instead of sending one imsg per tree entry
- imsg_add() frees its msg argument on error; avoid double-free in error paths
- avoid malloc/free for duplicate check in got_pathlists_insert()
- plug a small memleak on error in got_pack_create()
- fix paths stored in pack meta data, improving file deltification
- store a path hash instead of a verbatim path in pack meta data
- reduce the amount of memory used for caching deltas during deltification
- shrink struct got_pack_meta a bit by removing the have_reused_delta flag
- use random seeds for murmurhash2 (op)
- fix bug in findwixt() which caused pack files with missing parent commits
- avoid looping over deltas twice in dump_delta_chain_to_{file,mem}()
- open tempfiles needed for delta application upfront, for future gotwebd
- reduce GOT_PACK_CACHE_SIZE to 32 to accomodate for previous tempfile change
- tog: override SIGTERM and SIGINT handlers to avoid ncurses cleanup() handler
- move creation of tempfiles outside of lib/diff.c
- tests: don't pass $ret to test_done on failure when it's known to be zero (op)
- tests: set `ret' in a few places where it was forgotten (op)
- convert delta cache to a hash table
- implicitly unstage changes when staging the reverse of a staged diff (op)
- implement object enumeration support in got-read-pack for speed
- add one-line output mode to got log with -s flag (patch by Evan Silberman)
- rename the former got log -s (search) flag to got log -S
- make it possible to match committed patches with got log -p -S pattern
- tog: add key bindings for half-page scroll (patch by Mikhail, Mark Jamsek)
- make got log -S match author name and commit ID, like tog search does (op)
- got patch: ensure new and old paths are NUL-terminated (op)
- got patch: guard against invalid (negative) line offsets (op)
- got patch: use ints for line offsets instead of longs (op)
- remove redundant datalen checks before calling recv_imsg_error (op)
- use strndup instead of malloc+memcpy in privsep.c (op)
- do stricter validation of data received from libexec helpers (op)
- move got_opentempfd() out of got_repo_open(), for future gotwebd (tracey)
- fix D_GOTWWW default path; gotweb can now run without a config file again
- add horizontal scrolling to tog diff, blame, and log views (Mark Jamsek)
- show last-modified date in the "tog ref" view if 'm' is pressed (Mark Jamsek)
- make tog horizontal scrolling work with unicode (with op@)
- avoid subtraction of values larger than int in qsort(3) comparison callbacks
- make 'got patch' handle git-style rename diffs
- store deltas in compressed form while packing, both in memory and cache file
- avoid O(N) loops over object ID lists while packing
- run the search for deltas to reuse in got-read-pack directly, for speed
- hook send.sh cmdline tests into 'make regress', this was overlooked earlier
- fix regression from 0.69 where packing tags fails if zero commits are packed
- map delta cache file into memory if possible while writing a pack file
- plug a memory leak in got_fetch_pack() (patch by Mikhail)
- plug a memory leak in list_refs() (op)
- link libexec helpers against _p libraries when building with 'make PROFILE=1'
- regress: use test(1) -eq and -ne to compare integers, reduce quoting (naddy)
- got patch: add -p option to strip path components (op)
- stop relying on commit cache for good performance of got_object_id_by_path()
- leave work tree in usable state after 'got rebase' fails path-prefix checks
- make gotadmin pack -x option work with tag arguments
- make 'got cat' not search for a work tree if the -r option is used
- make 'got tag' unlock work tree earlier to allow other parallel commands
- add a -q (quiet) option to 'gotadmin pack'
- sort references by date for packing to process newer commits first
- fix double-free in an error case of cmd_checkout()
- make sure callers of got_object_idset_add() free data (tb)
- speed up initial stage of packing by adding a "skip" commit color
- regress: redirect jot(1) output instead of looping over it (op)
- reimplement object-ID set data structure on top of a hash table
- inline struct got_object_id in struct got_object_qid for speed
- got patch: resolve paths from the current working directory (op)
- got patch: add -R option to reverse a patch (op)
- explicitly include <endian.h> for be32toh() (naddy)
- apply time-based rate-limiting to send-/fetch-/index-pack progress output
- make the URI parser tolerate trailing slashes at the end of the input URI
- add 'got patch' command for applying unified diffs (op)
- handle reference arguments which look like short object IDs (with naddy)
- make got log, diff, blame, tree, and cat unlock the work tree earlier
- fix 'got status' with an obstructed file given as argument (found by op)
- cache a list of known pack index files when the repository is opened
- print additional progress information while packing
- const-ify data tables which contain only constants (naddy)
- fix gotweb build failure with -Werror due to write-only variable warnings
- move got_errors[] table into a single compilation unit, error.c (naddy)
- explicitly include <unistd.h> for close(2) (naddy)
- fix potential NULL deref in error path of got_object_idset_remove()
- man pages: fix missing commas between subordinate and main clauses (naddy)
- fix a bug where 'gotadmin pack' packed too many objects unless -a was used
- gotweb: fix free() on uninitialized variable upon error during blame
- compress delta data from delta_cache directly into pack file
- show rebase and histedit backups in tog ref view
- gotweb: unbreak index page when pack files are missing (tracey)
- make 'got rm' behave like rm(1) for paths found missing on disk
- make 'got rm' report an "unexpected status" error for unversioned files
- fix double-free and double-close issues in error paths of got_packidx_open()
- fix 'got status' showing unversioned directories on NFS (found by Ted Bullock)
- fix loose object file header parser for zero-length headers
- improve 'got add' error message if file does not exist (found by Timo Myyrä)
- improve error message due to malformed `author' in got.conf (omar)
- fix infinite loop triggered by pack files >= 4GB in size (found by semarie)
- set zlib output buffer length properly after resizing the output buffer
- improve error reporting for invalid numbers given on command line (omar)
- fix 'got diff' on files which match an ignore pattern (found by omar)
- reduce minimum deltification chunk size to 32 (suggested by ori)
- use murmurhash instead of sha1 for deltification blocks (suggested by ori)
- shrink the width of formatted output fields to their expected size (naddy)
- reuse existing deltas when creating pack files
- fix fd leak in got_fetch_pack (omar)
- fix imsg_clear calls after imsg_flush failures (omar)
- display GMT offset in 'got cat' command (jrick)
- const-ify command and option tables (naddy)
- only open raw objects if necessary while writing out pack file data
- map raw object files into memory while packing if possible
- encode short deltas in memory instead of writing them to a temporary file
- add missing checks for reads beyond the mapped memory area of a pack file
- fix file corruption regression in 'got checkout' from 0.65 (reported by naddy)
- fix 32-bit size_t multiplication overflow in meyrs diff code
- ignore the return value of closefrom(2) (patch by Anna a.k.a. CyberTailor)
- sort paths in got log -Pp and tog's diff view the same way as in the diff
- fix NULL dereference in 'got clone' if server sends an empty pack file
- tog: make searches start from the current position in all views
- tog: clear search highlighting when reloading view (naddy)
- set close-on-exec flag on files opened by main process (suggested by millert)
- use 'gotadmin pack' when running tests with GOT_TEST_PACK=1, not 'git repack'
- fix bogus "object not found" errors when specified object ID begins with 00
- avoid creation of new temporary files whenever a packed object is read
- use time-based rate-limiting for gotadmin progress output
- print status output even when 'gotadmin cleanup' finds no objects to remove
- tog: fix a scrolling problem when diffing binary files
- try only 3 delta base candidates instead of 10 to speed up packing
- use up to 128 delta chain elements again; creates smaller packs at same speed
- remove unused variables to fix LLVM 13 warnings (naddy)
- make 'got rebase' switch the work tree if no commits need rebasing (jrick)
- fix man page HTML rendering for command aliases (kn)
- let gotadmin find the repository automatically if invoked in a work tree
- preserve binary files during updates and merges instead of leaving them empty
- allow sorting references by timestamp in tog ref view
- add got ref -t option to sort listed references by modification time
- add got branch -t option to sort listed branches by modification time
- regress: make test operands POSIX compliant (thomas_adam)
- fix 'got send -T' regression if tag already exists on server (found by Omar)
- fix another regression where a 3-way merge would segfault (naddy)
- tog: add Ctrl-n/Ctrl-p for scrolling one line down/up (patch by Omar Polo)
- always initialize output parameter "n" of get_line() in diff3.c
- set oldo.to in diff3.c's duplicate() even if the file contains no newlines
- man pages: document command aliases in tmux(1) style, add tags (kn)
- ignore unversioned files while aborting rebase, histedit, merge or operations
- let 'got fetch' send all references to the server to avoid redundant downloads
- plug memory leaks in got-fetch-pack and got-send-pack
- provide lib/Makefile to enable tags file generation (kn)
- add support for multiple path arguments to 'got diff'
- fix merging of lines inserted at the top of a file (reported by Omar Polo)
- display the requested object type in "object not found" error messages
- implement 'got diff -c' for diffing commits with optional filtering by path
- speed up 'got histedit -l' and 'got rebase -l'
- fix merging of files which contain a dot on a line by itself
- sort and de-duplicate work tree path command line arguments (suggested by kn)
- fix pack index cache element rotation; keep often used entries near the front
- use a bloom filter to avoid pointless pack index searches
- do not skip ignored directories in 'got status' if they contain tracked files
- FreeBSD's ed(1) does not accept "0i"; use the equivalent "1i" instead (naddy)
- speed up pack file creation a little by caching raw objects
- limit delta chain length in newly created pack files to 32 deltas
- while packing, store encoded deltas in temporary files instead of in memory
- sync with OpenBSD parse.y (naddy)
- make 'gotadmin indexpack' unveil the repository read/write, not read-only
- plug memory leak in an error path of read_packed_object()
- fix list of 'got status' options in the got.1 man page
- tog: use sched_yield(2) for better portability (patch by Quentin Rameau)
- fix histedit_no_op test which was failing randomly (patch by Lucas)
- fix 'got send' with tree objects which contain symlinks (reported by Omar)
- tog: show parent commit IDs of merge commits in the diff view
- add a 'got merge' command for creating merge commits
- fix 'got update' of an added + obstructed file
- mark some function parameters 'const', as they should be (patch by Omar Polo)
- add 'static' qualifier to local functions in got-read-pack (again Omar Polo)
- fix some integers that had a slightly wrong type (again by Omar Polo)
- match printf specifiers and (cast) types for portability (naddy)
- don't change bad symlinks into regular files during merges
- handle errno variations upon open(2) failure with O_NOFOLLOW for portability
- garbage-collect unused "dist" target from subdirectory Makefiles (naddy)
- match the unsigned char type used by the zlib interface (naddy)
- fix unsigned/signed char mismatch in parse.y (naddy)
- fix 'got fetch' downloading too many objects in some cases
- interrupt 'got rebase' upon missing/unversioned/not-deleted files
- interrupt 'got histedit' upon missing/unversioned/not-deleted files
- pull in a type fix from the OpenBSD parse.y template (naddy)
- explicitly set the default branch name after 'git init' in regress tests
- add histedit -e option which runs the 'edit' script command for every commit
- skip ignored directories during 'got status' disk crawl
- fix another instance of 'got send' sending branches the server already has
- make 'got send' regression tests run 'git fsck' on all involved repositories
- shell code fixes in regress tests for portability (naddy)
- fix copy-pasto in got.conf man page
- add -q quiet mode to checkout and update (tracey)
- make 'got send' send commits which are referenced only by tags (found by Omar)
- add -S option to 'got status' for suppressing certain status codes (tracey)
- make 'got checkout' display the checked out reference and commit ID
- make 'got update' display the worktree's branch name upon success
- tog: support navigating to first/last line of tree and ref views (naddy)
- tog: jump directly to first log item instead of traversing the list (naddy)
- tog: when jumping to bottom of the log view, go from tail backwards (naddy)
- make "got branch -d" print reference name and value (naddy)
- move code duplicated by got-send-pack and got-fetch-pack to common files
- assert against accidentally overflowing argv[] in got_dial_ssh() (naddy)
- make 'gotadmin info' display separate send/fetch URLs if they differ
- fix a null-pointer deref in 'got fetch -d' (reported by Omar Polo)
- remove superfluous strdup(3) from parse.y files (Martin Vahlensieck)
- adapt regress tests which handle UTC dates (naddy)
- make 'got send' actually heed branch {} options in got.conf(5) as intended
- disable ignore lists during status walks used by rebase and histedit
- tog: add support for navigating to first/last line of blame view (naddy)
- fix bogus error when 'got cherrypick' merged changes into locally added file
- remove ancestry checks to make 'got cherrypick' and 'got backout' run faster
- limit checks for merge conflicts to files affected by the merge to be faster
- fix 'got send' adding too many objects to the pack file in some cases
- prevent a race where 'gotadmin cleanup' deletes concurrently created objects
- plug a small memory leak in tog's show_diff_view() function
- fix a use-after-free in get_changed_paths() in got and tog
- use less memory allocations when formatting log messages
- make got_deltify() rellocate the deltas array less often
- plug a memory leak in an error path of got_deltify()
- fix miscalculation of the final pack file size reported by got_pack_create()
- fix the error message shown when the server sends a bad ref line
- prevent NULL deref in got-fetch-pack if server does not announce capabilities
- add a missing bounds-check in got-fetch-pack when parsing server response
- fix, again, use of POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ] (naddy)
- add 'got send' for sending changes to remote repositories (with naddy, tracey)
- allow deletion of refs/remotes/ branches with got branch -d
- add missing "return 1" to failure handling in the regress scripts (naddy)
- make realloc_ids() malloc-like and do not overallocate (naddy)
- fix seek to incorrect offset in the delta base when creating deltas
- use gmtime_r(3) to display timestamps in UTC as intended (found by naddy)
- add keys for navigating to first/last item of tog log and diff views (jasper)
- display recovery steps in the lonely pack index error message
- fix double-free that ocurred upon exit from 'tog tree'; found by naddy
- don't scan pack index offsets for large values if pack file is < 2GB
- new -X option for removing backups created by got rebase and got histedit
- add 'got fetch -X' option for deleting references created by 'got fetch'
- make 'got ref -d' print reference name and value like the new -X options do
- fix imsg header includes in pack_create.c
- explicitly include endian.h for be32toh() in repository_admin.c (naddy)
- switch from SIMPLEQ to equivalent STAILQ macros (naddy)
- fix logic error in gotweb navigation for commits, briefs, and tags (tracey)
- fix bugs where files skipped by 'got update' could not be updated again
- fix out-of-bounds access in 'gotadmin pack'
- fix unintended redundant recallocarray() calls done by 'gotadmin pack'
- cache object type in memory to speed up packing of objects referenced by tags
- fix, again, use of POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ] (naddy)
- new 'gotadmin cleanup' command for removing unreferenced loose objects
- handle pack index files which lack a corresponding pack file
- make 'got add' always require the -I option in order to add ignored files
- write lines instead of just one character at a time in diff_output_lines()
- verify object ID checksums while loose objects are being accessed
- do not update symlinks which are already up-to-date
- add a gotadmin utility with info, pack, indexpack, and listpack commands
- fix 3-way merge of files which lack a final \n
- make double-quotes appear in rendered got.1 man page as intended (Nam Nguyen)
- gotweb: render error page instead of returning error 500 (tracey)
- avoid an error in tog(1) while the terminal window is being resized
- plug a memory leak in got_ref_list_free()
- catch invalid reference names passed to 'got ref -l'
- fix a memory leak in dial_git() (naddy)
- fix unrelated changes being merged by got cherrypick/backout/rebase/histedit
- go back to Patience diff for merging during cherrypick/backout/histedit/rebase
- fix file descriptor leak in got_repo_close() (tracey)
- fix hang in commit regress test if $VISUAL is set in the environment (tracey)
- use socketpair(2) instead of pipe(2) for better portability to Linux
- make it possible to profile gotweb and document how profiling works
- fix memory and fd leaks in got_pack_stop_privsep_child() (tracey)
- fix bogus 'permission denied' error when a file at work tree root is removed
- port packfile creation code over from git9
- new -I option for 'got status' to show files which match an ignore pattern
- fix error checking in dial_ssh()
- increase pack index cache size from 16 to 64 to improve performance
- fix off-by-one in got_repo_cache_pack() causing the wrong pack to be evicted
- cap pack file cache size at 1/8 of the current open file desciptor limit
- when reading a pack index byte-swap fields at compile-time where possible
- diff: reduce duplicate code (kn)
- fix "mandoc -T lint" WARNINGS and ERRORS, add missing word (kn)
- fix open file descriptor leak in error path of read_object_header_privsep()
- deltify.c: explicitly include <endian.h> for be64toh() (naddy)
- rebase/histedit -l: error out if no backups for the requested branch exist
- fix use of uninitialized stat buffer during status crawl (found by naddy)
- use Myers diff instead of Patience diff when merging files with diff3
- port file deltification code from git9; a prerequisite for writing pack files
- implement raw object data access; another prerequisite for writing pack files
- improve got log -x documentation (jrick)
- improve got ref -d documentation
- fix strftime(3) short buffer checks (jrick)
- ensure that old commits remain referenced after rebase and histedit
- new got rebase -l option which lists past rebase operations
- new got histedit -l option which lists past histedit operations
- implicitly mark all files in work tree as up-to-date after 'got integrate'
- tog: fix behaviour if 'n' is pressed before search is started (found by naddy)
- in 'got clone', allow -l together with -q, for consistency with 'got fetch'
- add 'got commit -F' option to commit with a log message stored in a file
- simplify error message shown when 'got rebase' has nothing to do
- tolerate tag objects which lack tagger timestamp information (found by naddy)
- got info: fix a pasto in an error message (naddy)
- include remote branches in the output of 'got branch -l' (suggested by helg)
- use POSIX [s1 = s2] syntax instead of [s1 == s2] (patch by Ryo ONODERA)
- tog log: terminate author field at '>' in case there is no '@' (naddy)
- replace fparseln(3) with getline(3), for better portability (naddy)
- make 'got clone' pin the fetched branch in got.conf(5)
- allow the 'got fetch' -l option together with the -q option
- store branches passed via 'got clone -b' in got.conf(5) and git-config(1)
- work around spurious ACK responses from git servers in got-fetch-pack
- add a 'fetch-all-branches' configuration setting to got.conf(5)
- add a 'reference' directive to remote repositories in got.conf(5)
- fix 'got up -c commit path' deleting unrelated files (found by Timo Myyrä)
- fix 'tog blame' segfault upon empty input file (found by naddy)
- let 'got clone' write gitconfig directives that match the generated got.conf
- fix a use after free in got_worktree_close() (naddy)
- make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
- make close(2) failure checks consistent; check 'close() == -1' everywhere
- fix missing close(2) error check in got_worktree_close()
- update got.1 CAVEATS section; prompted by feedback from otto@
- fix assignment to wrong pointer in got_ref_dup()
- fix performance on repositories with many references (e.g. freebsd src.git):
o implement an object ID map for reference lists
o use reflist object id maps in got log, tog log, and tog diff (with naddy)
o switch reflist to TAILQ; insert elements more efficiently for sorted input
- reset tog blame view's scroll position if line count shrinks too much (naddy)
- replace unprintable characters with '.' before passing them to curses (naddy)
- allow editing of log message comments with 'got histedit'
- implicitly mark all files in work tree as up-to-date after rebase/histedit
- add fd field to got_repository, modify got_packidx_open to use fds (yzhong)
- more size_t for loop indices to avoid signedness warnings; by emaste@freebsd
- fix path existence check in got_object_tree_path_changed (reported by jrick)
- fix parsing of tag objects which lack a tag message; found in u-boot.git repo
- do not mix up repos if tog's -r option is used in a work tree (with naddy)
- avoid signed vs unsigned comparisons in fetch.c (with millert)
- introduce got_custom_error array to support multiple errors in flight
- switch to strerror_r(3) in error.c for thread-safety
- new diff implementation from git.gameoftrees.org/diff.git (with neels)
- use Patience diff algorithm with fallback to Myers diff
- new blame algorithm which compares commit N-1 to N (with neels)
- handle binary files in got/tog diff commands; add -a options to force text
- consistently label removed files as "/dev/null" in diff headers
- prevent potential fclose(NULL) in error path of diff_blobs()
- use size_t for loop indices to avoid signedness warnings (by emaste@freebsd)
- in tests, replace echo with printf and stop option processing via "--" (naddy)
- fix test failure of test_tree_submodule_of_same_repo for packed repos (yzhong)
- add fd to got_worktree, modify got_fileindex_entry_update to use fds (yzhong)
- add histedit -f flag for folding shortcut (jrick)
- prevent log message loss of folded commits during histedit
- tog: plug two memory leaks in draw_file()
- tog: show current/total line numbers in diff view header
- tog: highlight matched search terms in diff and blame views
- tog: call pthread_cond_destroy(cond) just once when closing log view (naddy)
- tog: reset diff view's scroll position if diff context shrinks too much
- tog: make tog diff accept reference and tag arguments; add -w and -C options
- tog: new 'tog ref' subcommand which displays references in the repository
- tog: fix entry selection when moving to the parent in tree view (naddy)
- tog: fix page-down/page-up scrolling in the tree view (with naddy)
- tog: trim redundant parameters from many functions, and tidy up code (naddy)
- tog: log view now requests more commits when the window expands (naddy)
- tog: call pledge(2) directly in main() instead of per-command
- tog: fix bug on FreeBSD where pressing 'q' in a child view caused tog to exit
- tog: fix move to next/prev commit in diff view if log is not displayed (naddy)
- tog: make ^L in the log view stick to branches/tags selected via -c option
- tog: make tree view keep track of branches/tags specified via -c
- tog: fix crashes when the log view reloads displayed data
- tog: resize events go to child views as well as parent views (found by naddy)
- tog: move the tree view's selection cursor up if terminal shrinks too much
- tog: fix display of lines that end in "\r\n" (problem found by jrick)
- tog: accommodate newer ncurses where panel_userptr() returns const (naddy)
- tog: use getline(3) instead of fparseln(3) for better portability
- detect unknown repository format extensions such as Git's sha256 extension
- prevent a NULL dereference if 'got log -p' runs against a root commit
- fix permissions mode bits for fetched pack files; patch by Alisdair MacLeod
- use fchmod(2) instead of chmod(2) (semarie, naddy)
- initialize sb.st_mode after stat(2) failure in got_worktree_resolve_path()
- clear staged file type in file index entries whenever staged status is cleared
- unlink temporary files in error cases of install_blob()
- fix replacing a file with a symlink during merges; problem found by jrick
- fix parsing of 'ON' keyword in gotweb parse.yl patch by Martin Vahlensieck
- remove unused variable in gotweb.c; patch by Martin Vahlensieck
- do not treat the -h and -V flags as errors (naddy)
- allow regress test data to be stored in locations other than /tmp
- unveil repositories read-write when adding tags with 'got tag'
- rewrite test argument parsing with the POSIX getopts shell built-in (naddy)
- in tests, accommodate ls -l implementations that print "total 0" (naddy)
- fix a bug where 'got status' showed an unchanged empty file as changed
- handle non-const basename(3) and dirname(3) for POSIX compatibility
- properly handle nonexistent remote repository names given to 'got fetch'
ok naddy@
- add "branch" keyword to got.conf which specifies a list of branches to fetch
- rework got's commit-time log message modification check
- fix potential type mismatches between format specifiers and arguments (naddy)
- prefer the BSD extension to reset getopt over the GNU one (naddy)
- fix 'bad path' error from 'got clone' by unveiling the repository path again
- make 'got ref -d' delete both loose and packed representations of the ref
- make dangling symbolic references show up in 'got ref -l'
- fix handling of slashes in got.conf repository paths (found by naddy)
- hide remote HEAD refs in gotweb in order to match got and tog output
- make 'got histedit' collapse folded add+delete operations (found by jrick)
- fix matching the first object ID listed in a pack index (found by jrick)
- let 'got clone' try to connect to server before creating repository contents
- fix default branch name written to Git config file by 'got clone'
- allow an interrupted 'got clone' to be resumed by 'got fetch'
- handle failed connection attempts to git:// servers (patch by jrick)
- make gotweb work in subdirectories of the web space (found by uwerler)
- do not rely on <zlib.h> to pull in <unistd.h> (naddy)
- remove unused #includes from the new got-read-gotconfig/parse.y (naddy)
- document our default choice of text editor (suggested by Ricky Cintron)
- in tests, replace ksh syntax with POSIX arithmetic expressions (naddy)
- fix got.conf overriding GOT_AUTHOR even if no author is set in got.conf
- in tests, expand arguments in shell script for POSIX compatibility (naddy)
- fix crash in got_free_gotconfig()
- in cmd_checkout() handle basename(3) modifying its argument for portability
- print newline to clear the bottom line when tog exits (naddy)
- install got-read-gotconfig into gotweb's chroot environment
- add -q option to tests for quiet output and use it for 'make regress'
- document how to re-create a corrupt or missing file index in got-worktree(5)
- fix some memory leaks in tog (tracey)
- add workaround for a performance issue when 'tog diff' shows a large diff
- add -s option to 'got status' which acts as a status code filter
- add -s option to 'got remove' which deletes files in a particular status
- plug a memory leak in got_privsep_recv_tree() in error case
- in got_object_commit_get_logmsg(), handle log messages which lack '\n'
- do not rely on <zlib.h> to pull in <unistd.h> (naddy)
- use POSIX standard endian functions and include <endian.h> (naddy)
- add got.conf(5) configuration file
- use modern POSIX timestamp fields in struct stat (naddy)
- use plain write() in place of dprintf() with a pre-formatted string (naddy)
- stop including <sys/syslimits.h> directly (naddy)
- switch regress function declarations from ksh to POSIX shell syntax (naddy)
- add support for managing symbolic links under version control
- new -S option for 'got commit' and 'got stage' to skip symlink safety checks
- add a 'got info' command which displays work tree meta-data
- display more context in "no such entry found in tree" error messages
- fix spurious 'got cherrypick' error with a path prefix and an empty tree
- fix committing file additions from a work tree with a path prefix
- fix build error with clang 10 due to missing for-loop block grouping (naddy@)
- make 'got log' -R and -P options work in combination