Commits
- Commit:
fca1f6ad74d7a0a330d6014cdecbe6099bfc152e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in got_privsep_recv_tree() in error case
found while looking over tracey's scan-build results
- Commit:
766841c2970cb5bef66c9c69201b231d0eefb120
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -s option to 'got remove' which deletes files in a particular status
This makes it easy to deal with files that were deleted from disk by external
tooling which modified the work tree. Such files are left in missing (!)
status and can now be marked for deletion in bulk via 'got rm -s\! -R .'
For consistency, modified (M) files can now be removed with 'got rm -s M'
which implies 'got rm -f'.
Prompted by feedback from krw@
- Commit:
081470ac52a4d68384a33f36bdd0d3096d6cf772
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add -s option to 'got status' which acts as a status code filter
Advantages over using grep are that the list of codes is validated against
a list of known status codes, and that it is easier to match staged files
which can display status codes in one or both of two columns.
Prompted by feedback from krw@
- Commit:
ae6a69782e0a92064dbfeb83896ce38a90977414
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
speed up 'tog diff' get_filestream_info() a bit
With this, 'tog diff' is able to display clang 10 commits.
However, such huge diffs still take a rather long time to open.
get_filestream_info() is a hack. Ideally, diff line-offset information needed
by tog should be part of the result of the diff operation, rather than forcing
tog to calculate line offsets during a post-processing step.
- Commit:
7510f233f013971b4e0e7137722854f8f5c1e52b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify resource cleanup upon errors in get_filestream_info()
- Commit:
0dc7faa9e43711899b05ff94aa85278352daf2fc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix double-free when quitting tog's diff view; found by ofree
at /home/stsp/src/got/tog/tog.c:3415
3415 free(s->line_offsets);
(gdb) bt
msg=0x80e2a4cd87e "chunk is already free %p")
at /usr/src/lib/libc/stdlib/malloc.c:300
check=1) at /usr/src/lib/libc/stdlib/malloc.c:1070
clear=0, check=<optimized out>, argsz=0)
at /usr/src/lib/libc/stdlib/malloc.c:1431
at /usr/src/lib/libc/stdlib/malloc.c:1488
at /home/stsp/src/got/tog/tog.c:3415
at /home/stsp/src/got/tog/tog.c:518
at /home/stsp/src/got/tog/tog.c:954
at /home/stsp/src/got/tog/tog.c:2728
at /home/stsp/src/got/tog/tog.c:5683
(gdb)
- Commit:
369eef86a8da74dcb95f04df3a266d9b8c8d2d9b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix some memory leaks in tog
- Commit:
d93542d4d4d3693f2d977d334f0dbe3150e9329b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
In got-worktree(5), explain how to re-create a corrupt or missing file index.
- Commit:
7fb414ae4d46ebdaeff458477ba801f9ad5853c4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a -q option to tests for quiet output and use it for 'make regress'
Previous default output remains when test cases are run individually.
ok tracey
- Commit:
6d7260fd5af3b577d020bdbcb038b6c245216d5e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove remnants of recursive include support from parse.y
- Commit:
51b930a3410ed65be5d6e7cc41752945fb37132a
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
clean up those one-liner assignments
ok stsp
- Commit:
9e6e8e60a533dbed09b9a531eab773b7669a993f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
got parse.y tweaks
Rename things to better match their intended purpose. Tweak namespacing.
Add a function for freeing config items that are dynamically allocated.
Add 'struct gotconfig' to make room for potential global settings we might
want to add later, instead of implementing just a list of remote repositories.
ok tracey
- Commit:
129294bb0fc06ec7c700cc4f9920b92938cdfdff
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
0fe7d714db67e605ef529c0a9b60125f5d519ab2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.38
- Commit:
502b9684f951602db159ea8e357e404480666eec
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got log' -R and -P options work in combination
With -R, the -P option did not show any paths.
Regression test added here demonstrates the problem.
- Commit:
631179de38cd91f5e53311c37386314fa2504ccd
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Fix missing block grouping.
ok tracey stsp
- Commit:
528c17ddfb50dc3e1efdba2fcfec0bff8a1f2c01
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a more precise regex for color-highlighting 'commit' lines in 'tog log'
- Commit:
f2b0a8b0a1881cbc7388392deaa518caf38be151
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix committing file additions from a work tree with a path prefix
New files were added under the wrong tree in the repository if the work
tree has a path prefix. Fix this problem and catch it in the existing
commit_with_path_prefix regression test.
- Commit:
69d57f3de25cfb3fd0cbfef22bd20090b36cee5e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix spurious 'got cherrypick' error with a path prefix and an empty tree
If the work tree's path prefix does not exist in the first of the two
trees, then 'got cherrypick' failed with "no such entry found in tree".
But this is a legitimate situation, as shown in the new test added here.
The first tree could be the empty tree, for example, which should result
in 'got cherrypick' adding all files from the second tree instead of
complaining about a non-existent path-prefix directory in the first tree.
- Commit:
b66cd6f325e3fa7ddd17ff6dd41cf6e59d04ebf5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
display more context info in "no such entry found in tree" error messages
- Commit:
ff21961dc4dad7f7d30223f9b6fbe38fa9ca0b3c
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
plug some parse.y leaks
- Commit:
b2118c49a14c29447e228bf9a2b2a38f2da4f10b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Add a 'got info' command which displays work tree meta-data.
Remove the alias 'got in' for 'got init'.
The 'in' alias was too close to either 'init' or 'info'.
ok tracey, millert
- Commit:
cf07f22bd8beb1ed9e048433d553e394cc323c5f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
improve "got log ." command mark-up in got.1 EXAMPLES
- Commit:
aa9ad2764a70adc7378ea2b701d08f9dd7c8dd7d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix use of uninitialized variable in got_fileindex_entry_update()
- Commit:
af358f55386cfa2314813941ea81d531795792b0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak description of new -S option for 'got commit' and 'got stage'
with input from + ok tracy and millert