Commits


CHANGES for 0.128


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.


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.


fix bogus "bad object" errors from 'got merge -a' when merging a tag


add a test case which covers 'got merge -a' with a tag argument


do not leak resolved reference in got_worktree_histedit_complete()


do not leak base commit ref in got_worktree_histedit_prepare()


plug memory leaks involving diff3 state allocations


do not forget to free log-messages and commit-IDs of histedit list entries


do not leak memory for diffreg_result in got_merge_diff3() diffreg


do not leak new_tree_id in commit_worktree()


do not leak memory for tree IDs in merge_files()


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


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


plug memory leak in rebase_commit, commitable paths were not freed


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.


add a test for the issue just fixed in worktree_status() Patch by Mikhail Pchelin


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


pack: fix off-by-one: should check up to (including) fanout_table[0xff] Patch by Luiz Berti, thank you!


template: fix tp_urlescape() escaping it's currently space-padding instead of zero-padding. ok stsp@


Switch imsg_get() -> imgbuf_get() Return values of imsg_get were never used as a size. ok tb@ claudio@


bump version number


CHANGES for 0.127


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@


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.