Commits


sync files from diff.git 29916bb6c0c248ca6fa5486cb9e081d92112e86c


new blame algorithm which compares commit N-1 to N; with help from Neels


decouple line_offsets/nlines output params of got_object_blob_dump_to_file()


remove unused empty function got_diff_dump_change()


update TODO notes


fix gotweb build; should have been part of 8fa913ec


sync files from diff.git fe6d58fb52ea8d1041a8eb65e28a04816df67c08


typo fix in tog.1 man page


remove now pointless 'check_disk' parameter of got_repo_map_path() suggested by naddy


make tog avoid got_repo_map_path() if a work tree is available ok naddy


Call pthread_cond_destroy(cond) exactly once when closing a view. This moves the pthread_cond_destroy(need_commits) from stop_log_thread(), which can be called twice, to close_log_view(), which is called once. It also destroys the commit_loaded condition variable, which is created in open_log_view() but was never destroyed. ok stsp


highlight matched search terms in tog diff and tog blame views ok naddy@


make gotweb compile with the new diff implementation


show current/total line numbers in tog's diff view header


plug two memory leaks in tog's draw_file()


merge new diff implementation from the git.gameoftrees.org diff.git repository This new diff implementation was started by Neels Hofmeyr during the u2k20 hackathon and now replaces diffreg.c code lifted from the OpenBSD base system. The integration of this code into Got was done by me. Got now uses the patience diff algorithm by default. The diff.git repository will remain the primary repository for the diff code, which already compiles and runs on other operating systems such as Linux. Any fixes and improvements for files inherited from the diff.git repository should be written against that repository and synced to got.git afterwards.


bump version number


typo fix in CHANGES


fix 0.44 release date in CHANGES file


changes for 0.44


remove unused variable in gotweb.c, patch by Martin Vahlensieck (thanks)


fix on keywork in gotweb parse.y, patch by Martin Vahlensieck (thanks)


fix replacing symlinks with files And add a test case which verifies that the inverse also works, i.e. a symlink being replaced with a regular file. problem reported and fix tested by jrick


fix missing unlink(tmppath) in error cases of install_blob()


clear staged file type in file index entries whenever staged status is cleared