Commit Briefs

48fa1fa5b3 Stefan Sperling

CHANGES for 0.128 (tags/0.128)


48ffe7559a Stefan Sperling

fix bogus "no such file or directory" errors seen during histedit

got_object_blob_file_create() expects an absolute on-disk path, so provide one. No test case added yet. I encountered the problem in a private repository and tested this fix there. I could not yet trigger the bug on purpose.


05c019caa2 Stefan Sperling

fix segfault in error handling path of gotsys-apply-conf

Do not try to send errors via a gotsysd_iev which was already freed. Should fix a segfault observed while running 'gotsys apply' without having gotd running.






d9fa986eb9 Stefan Sperling

plug memory leaks involving diff3 state allocations




85a6d91e57 Stefan Sperling

do not leak new_tree_id in commit_worktree()


dc1388069c Stefan Sperling

do not leak memory for tree IDs in merge_files()


5224cd1188 Stefan Sperling

do not leak a duplicate tree entry on error in write_tree()


3a30f50101 Stefan Sperling

free tree-entry data items on the paths list in write_tree()



ca114b13c8 Stefan Sperling

add a memleak test for histedit, prompted by a report from bentley@

This test is currently failing. The subsequent 10 commits will fix all relevant memory leaks to make it pass.


b5def47a1d Stefan Sperling

add a test for the issue just fixed in worktree_status()

Patch by Mikhail Pchelin


cfd6e648cc Stefan Sperling

fix ignore pattern matching when a file path is given to 'got status'

The final path argument of add_ignores_from_parent_paths() is expected to be relative to the work tree root path, but we were passing an absolute path. Problem reported by Mikhail Pchelin


72451058b6 Omar Polo

pack: fix off-by-one: should check up to (including) fanout_table[0xff]

Patch by Luiz Berti, thank you!


8c17d04759 Omar Polo

template: fix tp_urlescape() escaping

it's currently space-padding instead of zero-padding. ok stsp@


4b701fe2e5 Kyle Ackerman

Switch imsg_get() -> imgbuf_get()

Return values of imsg_get were never used as a size. ok tb@ claudio@


c2e060f1be Stefan Sperling

bump version number


113f3fe860 Stefan Sperling

CHANGES for 0.127 (tags/0.127)


d4278f0338 Stefan Sperling

restore gotwebd's ability to redirect with HTTP status codes

This is needed to keep our tests passing because w3m does not work as required in our test scripts when the HTML body refresh redirect method is used. testing + ok jtt@


7e0628b4fb Stefan Sperling

rename gotweb_render_fake_redirect() to gotweb_render_refresh_redirect()

Strictly speaking, this redirect is not fake. It attempts to redirect the browser via the page refresh mechanism. Adjust name accordingly.