Commits
- Commit:
1fbd2b3b8a636bb61fab938d7a5b84de6a90a5e1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.112
- Commit:
afbdf128aa6bd65d2cb8ac370a0d9e6c358d6a83
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop opening the repository when opening a work tree
Opening a bunch of files in /tmp for pack temp files and opening the
repository just to validate the work tree's base-commit ID is overkill.
Simply parse the ID directly. If the commit object no longer exists we
will run into another error sooner or later. The commit is already
protected by the work tree reference. If it is missing then something
has badly gone wrong.
Doing less work when opening work trees speeds up 'got status' a bit.
As pointed out by Kyle this also avoids running got-read-gitconfig
twice when opening both a repository and a work tree.
ok by op@ and Kyle Ackerman
- Commit:
86abf691afcfe170d6225c87d8ffed982d0eecec
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add comments explaining that .got/base-commit needs hash algo information
Hopefully, if we ever bump the work tree format in the future we will
see these comments and sneak in a change to the .got/base-commit file
in order to record the hash algorithm of the base commit ID.
- Commit:
866e94146b2586459ca83c90f49ece8c91e1fdff
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Date:
Plug memory leaks in some libexecs
This occurred when these particular libexecs get an imsg of type
GOT_IMSG_STOP. They attempt to exit the main loop and leak the last
imsg they received.
ok stsp@ op@
- Commit:
0212f1806003f525d9caffb418e2eb93b048b9d6
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Date:
Plug a memory leak in gitconfig.c
conf_parse_line frees *section before allocating a new one,
which leaks *section on the last iteration of conf_parse.
ok stsp@
- Commit:
160508d5f79fc6e1794247e5d44b7bb413a14e8e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove a gotsysd todo item that is done
- Commit:
84a6474d63ab0958f05fbea78767ca7ad130af32
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement support for protected references in gotsys.conf and gotsysd
- Commit:
cf599b8e0000b9576e1ca1015f52f574f6df0f10
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
gotsysd: call gotsys_conf_clear() in sysconf_shutdown() before exiting
- Commit:
e03756bbbc44041d2e02bc6668ba8f9129053400
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix unrelated errors being reported if a histedit operation is aborted
This avoids errors such as "object not found" or "reference not found"
when exiting the histedit script editor without making any changes to
the script. got_worktree_histedit_abort() was filling up error.c error
buffers with unrelated errors that were simply being ignored.
I now see the expected "no changes made to histedit script" error.
Issue reported by ninjin on IRC
- Commit:
fcd4ab70e8a9040434264a073cde99eac4999186
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a test for behaviour around .gitignore files within sub-directories
- Commit:
4492e47bc914650ecd587fcc94010ae0373ab91b
- From:
- Anton Lindqvist <anton@basename.se>
- Date:
gotwebd: inherit all user groups
Required if repos_path is not owned by the _gotwebd group.
ok stsp@
- Commit:
a345a9df6d40e0b447c873496cc55d7bd88feb48
- From:
- Johannes Thyssen Tishman <jtt@openbsd.org>
- Date:
remove /tmp/got-importmsg on empty import commit message
ok stsp@
- Commit:
43da8b281f78341ca4cb9784e84693fb599e296a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
typo in gotsysd.conf.5 spotted by Mischa Peters
- Commit:
be9d733165d8961cecfde2a93a3742bd620c15d4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
8cf462a247487e0c588a85c5605ac70842f8a1f1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.111
- Commit:
d2dea2a8d9d87761cc0ea09b0ed3578bb74e6c2c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix gotsysd regress 'make vm' in case bsd.rd is looking for an upcoming release
- Commit:
bef145681876676fc590be939203b223ad4fdf42
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that gotsysctl gets installed into /usr/local/sbin
- Commit:
1a752fd9dad460a68dbf62cc67fe27040e8086b1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
sync dist-file list
- Commit:
acf1343ac7ceb7cad012673b0fe331c42a3081f5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch to UID 600 for _gotsysd to match the ports tree
- Commit:
539ba663896a5eb0dd33d8f4027755974431d528
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-fetch-http: improve handling of HTTP chunked responses
Use a cursor inside the buffer to parse the reply and handle the
chunking delimiters instead of memmove()'ing around memory all the
time. Spotted after a report from Colin Percival on IRC (thank
you!) about got-fetch-http hogging the CPU while cloning the FreeBSD
src.git repository.
While here also simplify the chunked/non-chunked distinction and
teach http_read() how to directly copy the data to a FILE.
tested also by Colin, ok stsp@
- Commit:
71313859002afca93f40060d925f90bf11fb7734
- From:
- Kyle Ackerman <kack@kyleackerman.net>
- Date:
Plug some memory leaks in got-{send,fetch}-pack
my_capabilities was leaked in both got-send-pack
and got-fetch-pack and needed freeing it in both.
ok op@
- Commit:
493d280daf90dd38c229a3d7b19d98201aabc3ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
revert part of previous commit which wasn't actually needed for memleak checks
- Commit:
40538e52bf546dc48be253772ea579110e483b37
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix all remaining gotwebd leaks the regress memleak checker was flagging
- Commit:
cab13f2dcc894c20d7f67f0905bf9396acb6fec9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
free gotweb.c iev_server on shutdown
- Commit:
53bbd7ac83f3535ebed810ed672327f3a6f65b89
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
also clear iev_gotweb->ibuf before exit to appease the memleak checker