2 - cast printf argument of type time_t to long long to match the %lld (naddy)
3 - add missing revoked_signers grammar to got.conf(5) (jrick)
4 - move 'got init' command to 'gotadmin init'
5 - regress test SSH key revocations (jrick)
6 - long overdue update of AUTHORS lists in man pages
7 - add signer_id option to got.conf(5) (jrick)
8 - delta_cache.c needs to include <stdint.h>; unbreaks -portable build on ubuntu
9 - regress: use bs=1M for dd, not bs=1m; fixes -portable test failure on ubuntu
10 - fix buf_alloca error handling (op)
11 - some privsep.c refactoring and cleanup (op)
12 - tog: implement global 'S' key map to switch split mode (jamsek)
13 - tog: implement +/- keymaps to resize the focussed split (jamsek)
14 - make 'tog log' error out in shallow Git repositories instead of hanging
15 - tog: enable moving to prev/next blame line in diff view (jamsek)
16 - improve documentation of the histedit 'mesg' command
17 - histedit script: allow mesg command only after pick or edit commands (op)
18 - for linux, fix usage of pipe(2) during SSH signing and verification (jrick)
20 * got 0.73; 2022-07-04
21 - got patch: use diff3 to merge changes if possible (op)
22 - tog: alias C-b/C-f to scroll page back/forward with b/f (jamsek)
23 - tog: make SPACE page down in all views (naddy)
24 - tog: allow prefixing movement keys with count modifier (jamsek)
25 - always show commit or tree IDs in diff header, in order to help 'got patch'
26 - build non-release builds with -Wwrite-strings (op)
27 - got patch: handle git-style diffs for the 3-way merge too (op)
28 - implement support for commit coloring in got-read-pack for speed
29 - move got_opentemp out of open_blob and blame.c for future gotwebd (tracey)
30 - move got_opentemp out of diff.c and diffreg.c for future gotwebd
31 - tog: refactor log cursor movement in preparation for horizontal split (jamsek)
32 - tog: implement support for horizontal splitscreens (jamsek)
33 - switch 'tog diff' and 'tog blame' to Myers diff by default for speed
34 - make the diff algorithm used by 'tog diff' and 'tog blame' configurable
35 - make the patch parser look for the next "diff" header for robustness (op)
36 - got patch: don't loose the x bit when merging with diff3 (op)
37 - got patch: handle mangled whitespace (op)
38 - fix "imsg_add TREE_ENTRY: Result too large" error on i386 (semarie, op)
39 - create and verify tags signed by SSH keys (jrick)
40 - tog: add C-g/backspace key map to abort compound commands (jamsek)
41 - rename got.conf(5) fetch-all-branches to fetch_all_branches for consistency
42 - rename got.conf(5) mirror-references to mirror_references for consistency
43 - use pipe() which is a more portable syscall than pipe2() (jrick)
44 - got patch: check for specific chars instead of using isspace(3) (op)
46 * got 0.72; 2022-06-18
47 - fix "bad offset in pack file" error due to uninitialized variable (op)
48 - initialize all variables used for sending privsep messages to zero (op)
49 - tog: reset search state after Ctrl-L to fix a use-after-free (op)
50 - fix unexpected imsg error after incomplete enumeration in got-read-pack
51 - tog: heed selection cursor position while searching (patch by Mikhail)
53 * got 0.71; 2022-06-17
54 - got patch: fail when reading empty hunks (op)
55 - got patch: switch from fseek() to fseeko(), use unary minus (naddy)
56 - got patch: avoid open/sync/close of the fileindex over and over again (op)
57 - make got_privsep_recv_tree() reject trees with less than zero entries
58 - plug memory leak in an error path of got_privsep_recv_tree()
59 - prevent an out-of-bounds access in got_privsep_recv_tree()
60 - parse tree entries into an array instead of a pathlist for speed
61 - batch up tree entries in imsg instead of sending one imsg per tree entry
62 - imsg_add() frees its msg argument on error; avoid double-free in error paths
63 - avoid malloc/free for duplicate check in got_pathlists_insert()
64 - plug a small memleak on error in got_pack_create()
65 - fix paths stored in pack meta data, improving file deltification
66 - store a path hash instead of a verbatim path in pack meta data
67 - reduce the amount of memory used for caching deltas during deltification
68 - shrink struct got_pack_meta a bit by removing the have_reused_delta flag
69 - use random seeds for murmurhash2 (op)
70 - fix bug in findwixt() which caused pack files with missing parent commits
71 - avoid looping over deltas twice in dump_delta_chain_to_{file,mem}()
72 - open tempfiles needed for delta application upfront, for future gotwebd
73 - reduce GOT_PACK_CACHE_SIZE to 32 to accomodate for previous tempfile change
74 - tog: override SIGTERM and SIGINT handlers to avoid ncurses cleanup() handler
75 - move creation of tempfiles outside of lib/diff.c
76 - tests: don't pass $ret to test_done on failure when it's known to be zero (op)
77 - tests: set `ret' in a few places where it was forgotten (op)
78 - convert delta cache to a hash table
79 - implicitly unstage changes when staging the reverse of a staged diff (op)
80 - implement object enumeration support in got-read-pack for speed
81 - add one-line output mode to got log with -s flag (patch by Evan Silberman)
82 - rename the former got log -s (search) flag to got log -S
83 - make it possible to match committed patches with got log -p -S pattern
84 - tog: add key bindings for half-page scroll (patch by Mikhail, Mark Jamsek)
85 - make got log -S match author name and commit ID, like tog search does (op)
86 - got patch: ensure new and old paths are NUL-terminated (op)
87 - got patch: guard against invalid (negative) line offsets (op)
88 - got patch: use ints for line offsets instead of longs (op)
89 - remove redundant datalen checks before calling recv_imsg_error (op)
90 - use strndup instead of malloc+memcpy in privsep.c (op)
91 - do stricter validation of data received from libexec helpers (op)
92 - move got_opentempfd() out of got_repo_open(), for future gotwebd (tracey)
93 - fix D_GOTWWW default path; gotweb can now run without a config file again
94 - add horizontal scrolling to tog diff, blame, and log views (Mark Jamsek)
95 - show last-modified date in the "tog ref" view if 'm' is pressed (Mark Jamsek)
96 - make tog horizontal scrolling work with unicode (with op@)
98 * got 0.70; 2022-05-10
99 - avoid subtraction of values larger than int in qsort(3) comparison callbacks
100 - make 'got patch' handle git-style rename diffs
101 - store deltas in compressed form while packing, both in memory and cache file
102 - avoid O(N) loops over object ID lists while packing
103 - run the search for deltas to reuse in got-read-pack directly, for speed
104 - hook send.sh cmdline tests into 'make regress', this was overlooked earlier
105 - fix regression from 0.69 where packing tags fails if zero commits are packed
106 - map delta cache file into memory if possible while writing a pack file
108 * got 0.69; 2022-04-24
109 - plug a memory leak in got_fetch_pack() (patch by Mikhail)
110 - plug a memory leak in list_refs() (op)
111 - link libexec helpers against _p libraries when building with 'make PROFILE=1'
112 - regress: use test(1) -eq and -ne to compare integers, reduce quoting (naddy)
113 - got patch: add -p option to strip path components (op)
114 - stop relying on commit cache for good performance of got_object_id_by_path()
115 - leave work tree in usable state after 'got rebase' fails path-prefix checks
116 - make gotadmin pack -x option work with tag arguments
117 - make 'got cat' not search for a work tree if the -r option is used
118 - make 'got tag' unlock work tree earlier to allow other parallel commands
119 - add a -q (quiet) option to 'gotadmin pack'
120 - sort references by date for packing to process newer commits first
121 - fix double-free in an error case of cmd_checkout()
122 - make sure callers of got_object_idset_add() free data (tb)
123 - speed up initial stage of packing by adding a "skip" commit color
124 - regress: redirect jot(1) output instead of looping over it (op)
125 - reimplement object-ID set data structure on top of a hash table
126 - inline struct got_object_id in struct got_object_qid for speed
127 - got patch: resolve paths from the current working directory (op)
128 - got patch: add -R option to reverse a patch (op)
130 * got 0.68; 2022-03-22
131 - explicitly include <endian.h> for be32toh() (naddy)
132 - apply time-based rate-limiting to send-/fetch-/index-pack progress output
133 - make the URI parser tolerate trailing slashes at the end of the input URI
134 - add 'got patch' command for applying unified diffs (op)
135 - handle reference arguments which look like short object IDs (with naddy)
136 - make got log, diff, blame, tree, and cat unlock the work tree earlier
137 - fix 'got status' with an obstructed file given as argument (found by op)
138 - cache a list of known pack index files when the repository is opened
139 - print additional progress information while packing
140 - const-ify data tables which contain only constants (naddy)
141 - fix gotweb build failure with -Werror due to write-only variable warnings
142 - move got_errors[] table into a single compilation unit, error.c (naddy)
143 - explicitly include <unistd.h> for close(2) (naddy)
144 - fix potential NULL deref in error path of got_object_idset_remove()
145 - man pages: fix missing commas between subordinate and main clauses (naddy)
146 - fix a bug where 'gotadmin pack' packed too many objects unless -a was used
147 - gotweb: fix free() on uninitialized variable upon error during blame
149 * got 0.67; 2022-02-18
150 - compress delta data from delta_cache directly into pack file
151 - show rebase and histedit backups in tog ref view
152 - gotweb: unbreak index page when pack files are missing (tracey)
153 - make 'got rm' behave like rm(1) for paths found missing on disk
154 - make 'got rm' report an "unexpected status" error for unversioned files
155 - fix double-free and double-close issues in error paths of got_packidx_open()
156 - fix 'got status' showing unversioned directories on NFS (found by Ted Bullock)
157 - fix loose object file header parser for zero-length headers
158 - improve 'got add' error message if file does not exist (found by Timo Myyrä)
159 - improve error message due to malformed `author' in got.conf (omar)
160 - fix infinite loop triggered by pack files >= 4GB in size (found by semarie)
161 - set zlib output buffer length properly after resizing the output buffer
162 - improve error reporting for invalid numbers given on command line (omar)
163 - fix 'got diff' on files which match an ignore pattern (found by omar)
164 - reduce minimum deltification chunk size to 32 (suggested by ori)
165 - use murmurhash instead of sha1 for deltification blocks (suggested by ori)
166 - shrink the width of formatted output fields to their expected size (naddy)
167 - reuse existing deltas when creating pack files
168 - fix fd leak in got_fetch_pack (omar)
169 - fix imsg_clear calls after imsg_flush failures (omar)
170 - display GMT offset in 'got cat' command (jrick)
171 - const-ify command and option tables (naddy)
173 * got 0.66; 2022-01-11
174 - only open raw objects if necessary while writing out pack file data
175 - map raw object files into memory while packing if possible
176 - encode short deltas in memory instead of writing them to a temporary file
177 - add missing checks for reads beyond the mapped memory area of a pack file
178 - fix file corruption regression in 'got checkout' from 0.65 (reported by naddy)
180 * got 0.65; 2022-01-06
181 - fix 32-bit size_t multiplication overflow in meyrs diff code
182 - ignore the return value of closefrom(2) (patch by Anna a.k.a. CyberTailor)
183 - sort paths in got log -Pp and tog's diff view the same way as in the diff
184 - fix NULL dereference in 'got clone' if server sends an empty pack file
185 - tog: make searches start from the current position in all views
186 - tog: clear search highlighting when reloading view (naddy)
187 - set close-on-exec flag on files opened by main process (suggested by millert)
188 - use 'gotadmin pack' when running tests with GOT_TEST_PACK=1, not 'git repack'
189 - fix bogus "object not found" errors when specified object ID begins with 00
190 - avoid creation of new temporary files whenever a packed object is read
191 - use time-based rate-limiting for gotadmin progress output
192 - print status output even when 'gotadmin cleanup' finds no objects to remove
193 - tog: fix a scrolling problem when diffing binary files
195 * got 0.64; 2021-11-23
196 - try only 3 delta base candidates instead of 10 to speed up packing
197 - use up to 128 delta chain elements again; creates smaller packs at same speed
198 - remove unused variables to fix LLVM 13 warnings (naddy)
199 - make 'got rebase' switch the work tree if no commits need rebasing (jrick)
200 - fix man page HTML rendering for command aliases (kn)
201 - let gotadmin find the repository automatically if invoked in a work tree
202 - preserve binary files during updates and merges instead of leaving them empty
203 - allow sorting references by timestamp in tog ref view
204 - add got ref -t option to sort listed references by modification time
205 - add got branch -t option to sort listed branches by modification time
206 - regress: make test operands POSIX compliant (thomas_adam)
208 * got 0.63; 2021-10-17
209 - fix 'got send -T' regression if tag already exists on server (found by Omar)
210 - fix another regression where a 3-way merge would segfault (naddy)
211 - tog: add Ctrl-n/Ctrl-p for scrolling one line down/up (patch by Omar Polo)
212 - always initialize output parameter "n" of get_line() in diff3.c
213 - set oldo.to in diff3.c's duplicate() even if the file contains no newlines
215 * got 0.62; 2021-10-16
216 - man pages: document command aliases in tmux(1) style, add tags (kn)
217 - ignore unversioned files while aborting rebase, histedit, merge or operations
218 - let 'got fetch' send all references to the server to avoid redundant downloads
219 - plug memory leaks in got-fetch-pack and got-send-pack
220 - provide lib/Makefile to enable tags file generation (kn)
221 - add support for multiple path arguments to 'got diff'
222 - fix merging of lines inserted at the top of a file (reported by Omar Polo)
223 - display the requested object type in "object not found" error messages
224 - implement 'got diff -c' for diffing commits with optional filtering by path
225 - speed up 'got histedit -l' and 'got rebase -l'
226 - fix merging of files which contain a dot on a line by itself
227 - sort and de-duplicate work tree path command line arguments (suggested by kn)
228 - fix pack index cache element rotation; keep often used entries near the front
229 - use a bloom filter to avoid pointless pack index searches
230 - do not skip ignored directories in 'got status' if they contain tracked files
231 - FreeBSD's ed(1) does not accept "0i"; use the equivalent "1i" instead (naddy)
232 - speed up pack file creation a little by caching raw objects
233 - limit delta chain length in newly created pack files to 32 deltas
234 - while packing, store encoded deltas in temporary files instead of in memory
235 - sync with OpenBSD parse.y (naddy)
236 - make 'gotadmin indexpack' unveil the repository read/write, not read-only
237 - plug memory leak in an error path of read_packed_object()
239 * got 0.61; 2021-10-03
240 - fix list of 'got status' options in the got.1 man page
241 - tog: use sched_yield(2) for better portability (patch by Quentin Rameau)
242 - fix histedit_no_op test which was failing randomly (patch by Lucas)
243 - fix 'got send' with tree objects which contain symlinks (reported by Omar)
244 - tog: show parent commit IDs of merge commits in the diff view
245 - add a 'got merge' command for creating merge commits
246 - fix 'got update' of an added + obstructed file
247 - mark some function parameters 'const', as they should be (patch by Omar Polo)
248 - add 'static' qualifier to local functions in got-read-pack (again Omar Polo)
249 - fix some integers that had a slightly wrong type (again by Omar Polo)
250 - match printf specifiers and (cast) types for portability (naddy)
251 - don't change bad symlinks into regular files during merges
252 - handle errno variations upon open(2) failure with O_NOFOLLOW for portability
253 - garbage-collect unused "dist" target from subdirectory Makefiles (naddy)
254 - match the unsigned char type used by the zlib interface (naddy)
255 - fix unsigned/signed char mismatch in parse.y (naddy)
256 - fix 'got fetch' downloading too many objects in some cases
257 - interrupt 'got rebase' upon missing/unversioned/not-deleted files
258 - interrupt 'got histedit' upon missing/unversioned/not-deleted files
259 - pull in a type fix from the OpenBSD parse.y template (naddy)
260 - explicitly set the default branch name after 'git init' in regress tests
261 - add histedit -e option which runs the 'edit' script command for every commit
262 - skip ignored directories during 'got status' disk crawl
264 * got 0.60; 2021-09-15
265 - fix another instance of 'got send' sending branches the server already has
266 - make 'got send' regression tests run 'git fsck' on all involved repositories
267 - shell code fixes in regress tests for portability (naddy)
269 * got 0.59; 2021-09-14
270 - fix copy-pasto in got.conf man page
271 - add -q quiet mode to checkout and update (tracey)
272 - make 'got send' send commits which are referenced only by tags (found by Omar)
273 - add -S option to 'got status' for suppressing certain status codes (tracey)
274 - make 'got checkout' display the checked out reference and commit ID
275 - make 'got update' display the worktree's branch name upon success
277 * got 0.58; 2021-09-11
278 - tog: support navigating to first/last line of tree and ref views (naddy)
279 - tog: jump directly to first log item instead of traversing the list (naddy)
280 - tog: when jumping to bottom of the log view, go from tail backwards (naddy)
281 - make "got branch -d" print reference name and value (naddy)
282 - move code duplicated by got-send-pack and got-fetch-pack to common files
283 - assert against accidentally overflowing argv[] in got_dial_ssh() (naddy)
284 - make 'gotadmin info' display separate send/fetch URLs if they differ
285 - fix a null-pointer deref in 'got fetch -d' (reported by Omar Polo)
287 * got 0.57; 2021-09-03
288 - remove superfluous strdup(3) from parse.y files (Martin Vahlensieck)
289 - adapt regress tests which handle UTC dates (naddy)
290 - make 'got send' actually heed branch {} options in got.conf(5) as intended
291 - disable ignore lists during status walks used by rebase and histedit
292 - tog: add support for navigating to first/last line of blame view (naddy)
293 - fix bogus error when 'got cherrypick' merged changes into locally added file
294 - remove ancestry checks to make 'got cherrypick' and 'got backout' run faster
295 - limit checks for merge conflicts to files affected by the merge to be faster
296 - fix 'got send' adding too many objects to the pack file in some cases
298 * got 0.56; 2021-08-30
299 - prevent a race where 'gotadmin cleanup' deletes concurrently created objects
300 - plug a small memory leak in tog's show_diff_view() function
301 - fix a use-after-free in get_changed_paths() in got and tog
302 - use less memory allocations when formatting log messages
303 - make got_deltify() rellocate the deltas array less often
304 - plug a memory leak in an error path of got_deltify()
305 - fix miscalculation of the final pack file size reported by got_pack_create()
306 - fix the error message shown when the server sends a bad ref line
307 - prevent NULL deref in got-fetch-pack if server does not announce capabilities
308 - add a missing bounds-check in got-fetch-pack when parsing server response
309 - fix, again, use of POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ] (naddy)
310 - add 'got send' for sending changes to remote repositories (with naddy, tracey)
311 - allow deletion of refs/remotes/ branches with got branch -d
312 - add missing "return 1" to failure handling in the regress scripts (naddy)
313 - make realloc_ids() malloc-like and do not overallocate (naddy)
314 - fix seek to incorrect offset in the delta base when creating deltas
315 - use gmtime_r(3) to display timestamps in UTC as intended (found by naddy)
316 - add keys for navigating to first/last item of tog log and diff views (jasper)
318 * got 0.55; 2021-07-26
319 - display recovery steps in the lonely pack index error message
320 - fix double-free that ocurred upon exit from 'tog tree'; found by naddy
321 - don't scan pack index offsets for large values if pack file is < 2GB
322 - new -X option for removing backups created by got rebase and got histedit
323 - add 'got fetch -X' option for deleting references created by 'got fetch'
324 - make 'got ref -d' print reference name and value like the new -X options do
326 * got 0.54; 2021-07-08
327 - fix imsg header includes in pack_create.c
328 - explicitly include endian.h for be32toh() in repository_admin.c (naddy)
329 - switch from SIMPLEQ to equivalent STAILQ macros (naddy)
330 - fix logic error in gotweb navigation for commits, briefs, and tags (tracey)
331 - fix bugs where files skipped by 'got update' could not be updated again
332 - fix out-of-bounds access in 'gotadmin pack'
333 - fix unintended redundant recallocarray() calls done by 'gotadmin pack'
334 - cache object type in memory to speed up packing of objects referenced by tags
335 - fix, again, use of POSIX [ s1 = s2 ] syntax instead of [ s1 == s2 ] (naddy)
336 - new 'gotadmin cleanup' command for removing unreferenced loose objects
337 - handle pack index files which lack a corresponding pack file
338 - make 'got add' always require the -I option in order to add ignored files
339 - write lines instead of just one character at a time in diff_output_lines()
340 - verify object ID checksums while loose objects are being accessed
342 * got 0.53; 2021-06-22
343 - do not update symlinks which are already up-to-date
344 - add a gotadmin utility with info, pack, indexpack, and listpack commands
345 - fix 3-way merge of files which lack a final \n
346 - make double-quotes appear in rendered got.1 man page as intended (Nam Nguyen)
347 - gotweb: render error page instead of returning error 500 (tracey)
348 - avoid an error in tog(1) while the terminal window is being resized
349 - plug a memory leak in got_ref_list_free()
350 - catch invalid reference names passed to 'got ref -l'
351 - fix a memory leak in dial_git() (naddy)
352 - fix unrelated changes being merged by got cherrypick/backout/rebase/histedit
353 - go back to Patience diff for merging during cherrypick/backout/histedit/rebase
354 - fix file descriptor leak in got_repo_close() (tracey)
355 - fix hang in commit regress test if $VISUAL is set in the environment (tracey)
356 - use socketpair(2) instead of pipe(2) for better portability to Linux
357 - make it possible to profile gotweb and document how profiling works
358 - fix memory and fd leaks in got_pack_stop_privsep_child() (tracey)
359 - fix bogus 'permission denied' error when a file at work tree root is removed
360 - port packfile creation code over from git9
361 - new -I option for 'got status' to show files which match an ignore pattern
363 * got 0.52; 2021-04-05
364 - fix error checking in dial_ssh()
365 - increase pack index cache size from 16 to 64 to improve performance
366 - fix off-by-one in got_repo_cache_pack() causing the wrong pack to be evicted
367 - cap pack file cache size at 1/8 of the current open file desciptor limit
368 - when reading a pack index byte-swap fields at compile-time where possible
369 - diff: reduce duplicate code (kn)
370 - fix "mandoc -T lint" WARNINGS and ERRORS, add missing word (kn)
371 - fix open file descriptor leak in error path of read_object_header_privsep()
373 * got 0.51; 2021-03-23
374 - deltify.c: explicitly include <endian.h> for be64toh()
375 - rebase/histedit -l: error out if no backups for the requested branch exist
376 - fix use of uninitialized stat buffer during status crawl (found by naddy)
378 * got 0.50; 2021-03-22
379 - use Myers diff instead of Patience diff when merging files with diff3
380 - port file deltification code from git9; a prerequisite for writing pack files
381 - implement raw object data access; another prerequisite for writing pack files
382 - improve got log -x documentation (jrick)
383 - improve got ref -d documentation
384 - fix strftime(3) short buffer checks (jrick)
385 - ensure that old commits remain referenced after rebase and histedit
386 - new got rebase -l option which lists past rebase operations
387 - new got histedit -l option which lists past histedit operations
389 * got 0.49; 2021-02-11
390 - implicitly mark all files in work tree as up-to-date after 'got integrate'
391 - tog: fix behaviour if 'n' is pressed before search is started (found by naddy)
392 - in 'got clone', allow -l together with -q, for consistency with 'got fetch'
393 - add 'got commit -F' option to commit with a log message stored in a file
394 - simplify error message shown when 'got rebase' has nothing to do
395 - tolerate tag objects which lack tagger timestamp information (found by naddy)
396 - got info: fix a pasto in an error message (naddy)
397 - include remote branches in the output of 'got branch -l' (suggested by helg)
399 * got 0.48; 2021-01-22
400 - use POSIX [s1 = s2] syntax instead of [s1 == s2] (patch by Ryo ONODERA)
401 - tog log: terminate author field at '>' in case there is no '@' (naddy)
402 - replace fparseln(3) with getline(3), for better portability (naddy)
403 - make 'got clone' pin the fetched branch in got.conf(5)
404 - allow the 'got fetch' -l option together with the -q option
405 - store branches passed via 'got clone -b' in got.conf(5) and git-config(1)
406 - work around spurious ACK responses from git servers in got-fetch-pack
407 - add a 'fetch-all-branches' configuration setting to got.conf(5)
408 - add a 'reference' directive to remote repositories in got.conf(5)
409 - fix 'got up -c commit path' deleting unrelated files (found by Timo Myyrä)
410 - fix 'tog blame' segfault upon empty input file (found by naddy)
411 - let 'got clone' write gitconfig directives that match the generated got.conf
412 - fix a use after free in got_worktree_close() (naddy)
413 - make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
414 - make close(2) failure checks consistent; check 'close() == -1' everywhere
415 - fix missing close(2) error check in got_worktree_close()
417 * got 0.47; 2020-12-27
418 - update got.1 CAVEATS section; prompted by feedback from otto@
419 - fix assignment to wrong pointer in got_ref_dup()
420 - fix performance on repositories with many references (e.g. freebsd src.git):
421 o implement an object ID map for reference lists
422 o use reflist object id maps in got log, tog log, and tog diff (with naddy)
423 o switch reflist to TAILQ; insert elements more efficiently for sorted input
425 * got 0.46; 2020-12-21
426 - reset tog blame view's scroll position if line count shrinks too much (naddy)
427 - replace unprintable characters with '.' before passing them to curses (naddy)
428 - allow editing of log message comments with 'got histedit'
429 - implicitly mark all files in work tree as up-to-date after rebase/histedit
430 - add fd field to got_repository, modify got_packidx_open to use fds (yzhong)
431 - more size_t for loop indices to avoid signedness warnings; by emaste@freebsd
432 - fix path existence check in got_object_tree_path_changed (reported by jrick)
433 - fix parsing of tag objects which lack a tag message; found in u-boot.git repo
434 - do not mix up repos if tog's -r option is used in a work tree (with naddy)
435 - avoid signed vs unsigned comparisons in fetch.c (with millert)
436 - introduce got_custom_error array to support multiple errors in flight
437 - switch to strerror_r(3) in error.c for thread-safety
439 * got 0.45; 2020-12-13
440 - new diff implementation from git.gameoftrees.org/diff.git (with neels)
441 - use Patience diff algorithm with fallback to Myers diff
442 - new blame algorithm which compares commit N-1 to N (with neels)
443 - handle binary files in got/tog diff commands; add -a options to force text
444 - consistently label removed files as "/dev/null" in diff headers
445 - prevent potential fclose(NULL) in error path of diff_blobs()
446 - use size_t for loop indices to avoid signedness warnings (by emaste@freebsd)
447 - in tests, replace echo with printf and stop option processing via "--" (naddy)
448 - fix test failure of test_tree_submodule_of_same_repo for packed repos (yzhong)
449 - add fd to got_worktree, modify got_fileindex_entry_update to use fds (yzhong)
450 - add histedit -f flag for folding shortcut (jrick)
451 - prevent log message loss of folded commits during histedit
452 - tog: plug two memory leaks in draw_file()
453 - tog: show current/total line numbers in diff view header
454 - tog: highlight matched search terms in diff and blame views
455 - tog: call pthread_cond_destroy(cond) just once when closing log view (naddy)
456 - tog: reset diff view's scroll position if diff context shrinks too much
457 - tog: make tog diff accept reference and tag arguments; add -w and -C options
458 - tog: new 'tog ref' subcommand which displays references in the repository
459 - tog: fix entry selection when moving to the parent in tree view (naddy)
460 - tog: fix page-down/page-up scrolling in the tree view (with naddy)
461 - tog: trim redundant parameters from many functions, and tidy up code (naddy)
462 - tog: log view now requests more commits when the window expands (naddy)
463 - tog: call pledge(2) directly in main() instead of per-command
464 - tog: fix bug on FreeBSD where pressing 'q' in a child view caused tog to exit
465 - tog: fix move to next/prev commit in diff view if log is not displayed (naddy)
466 - tog: make ^L in the log view stick to branches/tags selected via -c option
467 - tog: make tree view keep track of branches/tags specified via -c
468 - tog: fix crashes when the log view reloads displayed data
469 - tog: resize events go to child views as well as parent views (found by naddy)
470 - tog: move the tree view's selection cursor up if terminal shrinks too much
471 - tog: fix display of lines that end in "\r\n" (problem found by jrick)
472 - tog: accommodate newer ncurses where panel_userptr() returns const (naddy)
473 - tog: use getline(3) instead of fparseln(3) for better portability
475 * got 0.44; 2020-11-10
476 - detect unknown repository format extensions such as Git's sha256 extension
477 - prevent a NULL dereference if 'got log -p' runs against a root commit
478 - fix permissions mode bits for fetched pack files; patch by Alisdair MacLeod
479 - use fchmod(2) instead of chmod(2) (semarie, naddy)
480 - initialize sb.st_mode after stat(2) failure in got_worktree_resolve_path()
481 - clear staged file type in file index entries whenever staged status is cleared
482 - unlink temporary files in error cases of install_blob()
483 - fix replacing a file with a symlink during merges; problem found by jrick
484 - fix parsing of 'ON' keyword in gotweb parse.y; patch by Martin Vahlensieck
485 - remove unused variable in gotweb.c; patch by Martin Vahlensieck
487 * got 0.43; 2020-10-21
488 - do not treat the -h and -V flags as errors (naddy)
489 - allow regress test data to be stored in locations other than /tmp
490 - unveil repositories read-write when adding tags with 'got tag'
491 - rewrite test argument parsing with the POSIX getopts shell built-in (naddy)
492 - in tests, accommodate ls -l implementations that print "total 0" (naddy)
493 - fix a bug where 'got status' showed an unchanged empty file as changed
494 - handle non-const basename(3) and dirname(3) for POSIX compatibility
495 - properly handle nonexistent remote repository names given to 'got fetch'
497 * got 0.42; 2020-09-30
498 - add "branch" keyword to got.conf which specifies a list of branches to fetch
499 - rework got's commit-time log message modification check
500 - fix potential type mismatches between format specifiers and arguments (naddy)
501 - prefer the BSD extension to reset getopt over the GNU one (naddy)
502 - fix 'bad path' error from 'got clone' by unveiling the repository path again
504 * got 0.41; 2020-09-25
505 - make 'got ref -d' delete both loose and packed representations of the ref
506 - make dangling symbolic references show up in 'got ref -l'
507 - fix handling of slashes in got.conf repository paths (found by naddy)
508 - hide remote HEAD refs in gotweb in order to match got and tog output
509 - make 'got histedit' collapse folded add+delete operations (found by jrick)
510 - fix matching the first object ID listed in a pack index (found by jrick)
511 - let 'got clone' try to connect to server before creating repository contents
512 - fix default branch name written to Git config file by 'got clone'
513 - allow an interrupted 'got clone' to be resumed by 'got fetch'
514 - handle failed connection attempts to git:// servers (patch by jrick)
515 - make gotweb work in subdirectories of the web space (found by uwerler)
517 * got 0.40; 2020-09-21
518 - do not rely on <zlib.h> to pull in <unistd.h> (naddy)
519 - remove unused #includes from the new got-read-gotconfig/parse.y (naddy)
520 - document our default choice of text editor (suggested by Ricky Cintron)
521 - in tests, replace ksh syntax with POSIX arithmetic expressions (naddy)
522 - fix got.conf overriding GOT_AUTHOR even if no author is set in got.conf
523 - in tests, expand arguments in shell script for POSIX compatibility (naddy)
524 - fix crash in got_free_gotconfig()
525 - in cmd_checkout() handle basename(3) modifying its argument for portability
526 - print newline to clear the bottom line when tog exits (naddy)
527 - install got-read-gotconfig into gotweb's chroot environment
529 * got 0.39; 2020-09-14
530 - add -q option to tests for quiet output and use it for 'make regress'
531 - document how to re-create a corrupt or missing file index in got-worktree(5)
532 - fix some memory leaks in tog (tracey)
533 - add workaround for a performance issue when 'tog diff' shows a large diff
534 - add -s option to 'got status' which acts as a status code filter
535 - add -s option to 'got remove' which deletes files in a particular status
536 - plug a memory leak in got_privsep_recv_tree() in error case
537 - in got_object_commit_get_logmsg(), handle log messages which lack '\n'
538 - do not rely on <zlib.h> to pull in <unistd.h> (naddy)
539 - use POSIX standard endian functions and include <endian.h> (naddy)
540 - add got.conf(5) configuration file
541 - use modern POSIX timestamp fields in struct stat (naddy)
542 - use plain write() in place of dprintf() with a pre-formatted string (naddy)
543 - stop including <sys/syslimits.h> directly (naddy)
544 - switch regress function declarations from ksh to POSIX shell syntax (naddy)
546 * got 0.38; 2020-08-02
547 - add support for managing symbolic links under version control
548 - new -S option for 'got commit' and 'got stage' to skip symlink safety checks
549 - add a 'got info' command which displays work tree meta-data
550 - display more context in "no such entry found in tree" error messages
551 - fix spurious 'got cherrypick' error with a path prefix and an empty tree
552 - fix committing file additions from a work tree with a path prefix
553 - fix build error with clang 10 due to missing for-loop block grouping (naddy@)
554 - make 'got log' -R and -P options work in combination
556 * got 0.37; 2020-07-23
557 - cope with directory entries returned from readdir(3) with type DT_UNKNOWN
558 - fix merging with files that do not contain a newline character
559 - heed .{cvs,git}ignore if a path is given on the 'got status' command line
560 - plug memory leak that occurred when files were deleted during checkout/update
561 - add new parse.y code for future use and restructure gotweb's parse.y
562 - fix an error return in gotweb (by Martin Vahlensieck)
563 - document how to use commit messages prepared in a file (by Scott Bennett)
564 - make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
565 - allow creation of commits which carry unmodified submodule tree entries along
566 - some error, usage, and progress message improvements
568 * got 0.36; 2020-05-05
569 - fix "no such entry found in tree" error with got log -p and an added path
570 - show a list of paths changed in a commit with 'got log -P' and in tog
571 - prevent false positive tree entry differences due to bogus file mode bits
572 - write directory tree entry mode bits in the same way as Git does (0040000)
574 * got 0.35; 2020-04-25
575 - don't pass "-p 22" to ssh; makes ssh_config's Port option work (semarie)
576 - fix a file index corruption problem with 'got rebase' (found by tracey)
577 - fix 'got log -r' loading refs from the wrong repo if invoked in a work tree
578 - filter out "remotes/*/HEAD" references in got/tog log output
580 * got 0.34; 2020-04-19
581 - make use of new convenience API functions of kcgi 0.12 in gotweb
582 - make 'got update' skip conflicted files (prevents loss of local changes)
583 - show a summary of conflicts and related problems after updating/merging files
584 - add 'got log' -x option to stop logging when a specific commit was traversed
585 - add 'got log' -R option to reverse commit display order
586 - clarify wording in got.1 related to local changes/commits/branches
587 - show bad object ID in "object not found" error messages where possible
589 * got 0.33; 2020-04-14
590 - normalize tree entry modes to 0100644 or 0100755 when writing tree objects
591 - fix "searching..." displayed in tog log view while merely scrolling down
592 - in got.1, clarify how 'got update' deals with local (aka uncommitted) changes
594 * got 0.32; 2020-03-28
595 - be nice to unaware users who attempt to use got commands in a Git work tree
596 - show 'searching...' during 'tog log' search even if no new commits are loaded
597 - display "no matches found" if no commit matches a 'tog log' search
598 - display "no more matches" if 'tog log' search cannot find any more matches
599 - make 'tog log' consistently scroll a page upon page-down key (found by naddy)
600 - make 'got fetch' create or restore remote HEAD reference if it is missing
601 - make 'got fetch -d' delete branches from both refs/heads and refs/remotes
603 * got 0.31; 2020-03-25
604 - take status line into account during page up/down in 'tog log' (naddy)
605 - make 'got tree' use the current branch if invoked in a work tree (tracey)
606 - compute pack file's checksum during download and check it in got-fetch-pack
607 - make got-index-pack compute and verify the pack file's checksum as well
608 - stop verifying pack file checksum in the main process during clone/fetch
609 - fix bogus 'reference HEAD not found' error (reported by Matthias aka _xhr_)
610 - make 'got clone' create refs/remotes/origin/HEAD, as 'git clone' does
611 - make 'got fetch' handle updates to refs/remotes/*/HEAD
613 * got 0.30; 2020-03-22
614 - add support for git and git+ssh network protocols (patch by ori@)
615 - add 'got clone' and 'got fetch' commands
616 - don't error out if rebase sees no merged paths; elide the commit instead
617 - prevent 'got commit' from committing empty sub-directories (found by tracey)
618 - allow limiting the output of 'got ref -l' to a single ref or a namespace
619 - add -c option to 'got ref' which now expects just one argument after options
620 - plug a memory leak in got-read-pack
621 - remove 'Next' link from tags on gotweb summary page if no tags exist (tracey)
623 * got 0.29; 2020-03-06
624 - trim directories in got remove -R (tracey)
625 - prevent commits from being listed more than once in a histedit script
626 - fix histedit 'rebase commit ID mismatch' error when splitting a commit
627 - be helpful when users try to check out work trees without a known branch
628 - map 'tog path' to 'tog log path' if possible (requested by mpi)
629 - when "bad path" errors occur always show the path in question
630 - show merged commit ID upon merge conflict during rebase and histedit
632 * got 0.28; 2020-02-25
633 - improve man page documentation of rebase and histedit
634 - disallow 'got rebase' while a histedit operation is in progress
635 - switch 'got tag' commit argument to a new -c option
636 - let 'got branch' switch and update the work tree
637 - improve documentation of -r flags in tog man page (naddy)
638 - add 'got histedit -m' option which makes it easy to edit log messages
639 - switch 'tog diff' repository path argument to a new -r option (naddy)
640 - fix 'tog diff object1 object2' when run inside a work tree (naddy)
641 - document semantics of got log and tog log path arguments
642 - add ^B/^F key bindings (page up/down) to 'tog blame' and 'tog tree' (naddy)
643 - disable compiler warnings in release builds to avoid -Werror build breakage
645 * got 0.27; 2020-02-21
646 - fix gotweb build with -O2 on sparc64 (tracey; reported by kmos)
647 - add next/prev navigation to gotweb commit briefs and commits pages (tracey)
648 - add new gotweb tags page and ability to navigate all tags (tracey)
649 - ensure gotweb's libexec helpers inherit build flags from parent directories
650 - allow 'got ref' to manipulate refs which do not have a slash in their name
651 - add an optional path argument to 'tog tree'
652 - fix misplaced tog search prompt in split-screen views
654 * got 0.26; 2020-02-17
655 - initial release of gotweb(8), a repository server for web browsers (tracey)
656 - fix a segfault in 'got backout' (tracey, reported by semarie)
657 - switch 'tog tree' repository path argument to a new -r option
658 - fix 'got blame' and 'tog blame' on files added on worktree's current branch
659 - enable searching in tog diff view with the '/' key (tracey)
660 - ignore EROFS during checkout for repositories on read-only filesystems
661 - do not open log message editor if there are no changes during 'histedit -c'
662 - display branch name and first commit to be edited at top of histedit script
663 - fix bug where 'got revert -R' failed on added subtrees
664 - fix bug where 'got log PATH' failed to map PATH into the repository
665 - make 'tog log' show linear history by default; add -b option and B key
666 - make 'got log' show linear history by default; remove -f and add -b option
667 - do not display unversioned files during 'got revert -R'
668 - tweak default colors for directories and symlinks in 'tog tree'
669 - sleep for one nanosecond after syncing the file index to disk
670 - fix 'tog log -c' with tags
672 * got 0.25; 2020-01-14
673 - fix suspending and resuming tog with Ctrl-Z and fg (reported by naddy@)
674 - fix 'tog tree' usage displayed in error case (patch by naddy@)
675 - support Git-style "lightweight" tags as arguments for 'got diff'
676 - handle Git-style "lightweight" tags in got tag -l
677 - make got and tog accept a --version argument (prompted by tedu@)
678 - add -E option to 'got checkout' allowing use of a non-empty work tree path
679 - make 'tog log PATH' fail when a non-existent path is specified
680 - fix out of bounds access (patch by Martin <openbsd () academicsolutions ! ch>)
681 - fix switching to tog's tree view when logging a path (reported by naddy@)
683 * got 0.24; 2020-01-08
684 - do not open and close pack index files needlessly
685 - fix 'got log' and 'tog log' performance issue when lots of tags exist
686 - do history traversal in got-read-pack to improve 'got blame' performance
687 - plug memory leaks in got-read-commit, got-read-tree, and got-read-pack
688 - fix reading reference deltas with GOT_PACK_NO_MMAP builds
689 - disable got-read-pack's delta cache in GOT_NO_OBJ_CACHE builds
690 - make it possible to run regress tests with packed repositories
691 - more portable string comparison in Makefile.inc (patch by Edgar Pettijohn)
692 - prevent rebase with an out-of-date work tree
693 - make 'got checkout' and 'got update' work with read-only repositories
695 * got 0.23; 2019-12-16
696 - prevent status crawl from racing with paths changing in the filesystem
697 - add -k option to 'got remove' to keep files on disk (Tracey Emery)
698 - add -R option to 'got remove' for recursive deletion (Tracey Emery)
699 - add -I option to 'got add' to disregard ignore patterns (Tracey Emery)
700 - show numeric dates in ISO-8601/xkcd-1179 format in 'tog log' and 'got blame'
702 * got 0.22; 2019-12-01
703 - allow empty diff context context (-C0) in 'got diff' (kn@)
704 - add '-s search-pattern' option to 'got log' (kn@)
705 - forward rebased branch if there are no commits to rebase, instead of error
706 - parse remote repository URLs from gitconfig
707 - actually forbid new reference names with a leading '-', as intended
708 - convert tree entries from SIMPLEQ to an array for better performance
709 - compile static binaries in PROFILE build
711 * got 0.21; 2019-11-25
712 - add -R option to 'got add' for recursive addition (patch by Tracey Emery)
713 - reduce the amount of memcpy() and strdup() while parsing tree entries
714 - fix tog display issue caused by Tab in commit messages; reported by mpi@
715 - cache delta data buffers in an LRU cache to improve performance
716 - add -c option to 'got branch', replacing the optional second argument
718 * got 0.20; 2019-11-09
719 - fix reading pack files larger than 2GB
720 - try not to hide errors from helper programs when got exits
721 - use less empty padding space after author name in 'tog log'
722 - rename 'got init' and 'got import' default branch to "main" (patch by kmos@)
724 * got 0.19; 2019-11-08
725 - add optional colorized display mode to tog
726 - make 'tog log' show abbreviated commit IDs if the window is large enough
727 - fix staging of multiple files with -p
728 - show commit date's century in 'got blame' output (patch by Tracey Emery)
730 * got 0.18; 2019-10-21
731 - always show the input path when realpath(3) returns an error
732 - preserve log message when an error occurs during commit, tag, or import
733 - ignore empty files in refs directory instead of throwing errors
734 - show file mode differences (executable bit) when diffing in-repository trees
735 - fix handling of executable-bit changes during update, commit, and status
736 - improve tog's responsiveness after loading hundreds of thousands of commits
737 - fix tog performance bug which made searching through commits very slow
738 - add 'got integrate' command for merging a branch back to its parent branch
739 - show content from the merge-base file in 3-way merge conflicts, if available
740 - improved indication of 3-way merge inputs in conflict marker labels
741 - handle read errors in got_packidx_init_hdr (found by jj@ with scan-build)
742 - remove worklist code; it was only used to unlink files already unlinked
743 - show bad reference names in error messages to make such errors more clear
744 - add -w (ignore whitespace) option to 'got diff'
745 - improved coding style and error handling in diff3 code
747 * got 0.17; 2019-10-06
748 - make 'got branch' without args show work tree's branch (requested by benno)
749 - show temporary branch in 'got branch -l' during rebase and histedit
750 - refresh references when 'tog log' view is refreshed with Ctrl+L
751 - make 'got status' read .gitignore files; support **/ and /**/ in patterns
752 - handle empty trees during 'import' and 'checkout' (issue reported by sthen)
753 - show only whitelisted commit headers in 'got log' (semarie)
754 - properly handle getline(3) return type as ssize_t (hiltjo)
756 * got 0.16; 2019-09-23
757 - replace fgetln(3) with getline(3) for portability (patch by Steven McDonald)
758 - fix implicit time.h includes (patch by Steven McDonald)
759 - fix tiny memory leaks and other minor bugs found by jj@ with scan-build
760 - fix missing error checks (found by jj@ with scan-build and by Steven McDonald)
761 - avoid a couple of potential NULL derefs (found by jj@ with scan-build)
762 - fix cosmetic display issues involving \n and TABs in tog(1)
764 * got 0.15; 2019-09-08
765 - use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
766 - obtain repo format version and commit author name/email from .git/config
767 - fix line-wrap for lines spanning the terminal in tog diff view
768 - make 'got status' ignore inaccessible directories (reported by semarie)
769 - unstage may need to write to repository; fix unveil(2) call accordingly
770 - fix modified files not shown by 'got status' after committing staged changes
772 * got 0.14; 2019-09-03
773 - fix tag_list test failure on single-day-digit dates (patch by Evan Silberman)
774 - prevent theoretical double-free with non-OpenBSD asprintf (found by jasper@)
775 - fix NULL deref in got_error_from_errno via got_error_uuid (found by jasper@)
776 - make tog release its work tree lock before going into main loop
777 - 'got stage' writes to repository, fix unveil(2) call accordingly
779 * got 0.13; 2019-08-30
780 - fix several possible leaks, use after frees, and NULL derefs (hiltjo)
781 - tog: mbs2ws: fix sizeof of element for memory allocation (hiltjo)
782 - fix deletion of branches stored in packed-refs
783 - fix 'got log path' in a work tree with a path prefix (with Evan Silberman)
785 * got 0.12; 2019-08-26
786 - add support for path arguments to 'got cat'
787 - make 'got log -p path' display patches for the specified path only
788 - allow creating branches based on commit IDs
789 - prevent deletion of the work tree's current branch
790 - detect and ignore Git submodules
791 - indicate non-existent path arguments in 'got status'
792 - make 'got diff' error for non-existent path arguments
793 - make 'got tag -l' list tags by time stamp in descending order
794 - fix reading pack index files with large offsets (patch by Hiltjo Posthuma)
796 * got 0.11; 2019-08-23
797 - add 'got tag' command
798 - add 'got cat' command
799 - support quick cancellation in 'tog blame' view
800 - fix search prompt location in split-screen tog views
802 * got 0.10; 2019-08-21
803 - fix and simplify blame algorithm
805 * got 0.9; 2019-08-19
806 - fix blame bug where lines were annotated with wrong commit
807 - man page spelling fixes (patch by Hiltjo Posthuma)
808 - fix uninitialized 'editor' variable (found by Hiltjo Posthuma)
809 - make 'got revert' ignore unversioned files instead of aborting (semarie@)
810 - fix "last commit cannot be folded" histedit check with reordered commits
812 * got 0.8; 2019-08-16
813 - write tree entries the way git likes it to prevent git index corruption
814 - make 'got blame' show line numbers, dates, and author names
815 - add GOT_LOG_DEFAULT_LIMIT env var for setting a got log -l default
817 * got 0.7; 2019-08-13
818 - properly parse timestamps in commit objects as UTC (patch by Hiltjo Posthuma)
819 - strip Git GPG signatures from log messages
820 - fix regression: don't try to parse "lightweight" tags as real tag objects
822 * got 0.6; 2019-08-13
823 - 'got log' and 'tog log' now display tags in addition to branch references
824 - 'got ref' can now be used to create symbolic references
825 - use <limits.h> instead of <sys/limits.h> (patch by Thomas Klausner)
826 - fix crash if 'got rebase' has no commits to rebase (with semarie@)
827 - annotate symlinks with @ in 'got tree' and 'tog tree'
829 * got 0.5; 2019-08-12
830 - fix blame with single-commit history and with files without \n
831 - fix crashes in tog when blame returns no results on a file (found by otto@)
832 - man page improvements (bentley@)
834 * got 0.4; 2019-08-11
835 - add support for tag objects to 'got diff'
836 - fix tog log -r option (patch by semarie@)
837 - fix use of potentially out-of-date errno values (patch by Hiltjo Posthuma)
838 - fix getline(3) return value check (patch by Hiltjo Posthuma)
839 - use Oo/Oc/Op instead of plain brackets in man pages (patch by bentley@)
840 - fix spurious failures of test_revert_patch_one_change due to race condition
842 * got 0.3; 2019-08-10
843 - fix bug where 'revert -p' would delete all lines following a reverted change
844 - fix merge bug inherited from OpenRCS, affecting lines with leading .
845 - fix man page installation during manual 'make install' from plain tarball
847 * got 0.2; 2019-08-09
848 - improve error message if helper binaries fail to unveil(2)
849 - add support for tags to -c options of some got commands
850 - attempt to reject GOT_AUTHOR values without an email address because git
851 is unable to parse resulting commit objects
852 - fix build on OpenBSD/sparc64 (gcc)
854 * got 0.1; 2019-08-09
855 initial release; see git repository history for changes up to this point