Commits


switch reflist to TAILQ; insert elements more efficiently for sorted input ok naddy


switch the "tog <path>" log view shortcut to the global reference list, too ok stsp


Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags' Make use of this where possible to avoid re-reading references from disk. ok naddy


switch tog ref view to the global reference list as well ok naddy


make tog store refs and object id map in global variables instead of per view ok naddy


update got.1 CAVEATS section; prompted by feedback from otto@


make use of reflist object id maps in tog log and diff views This is a partial fix for performance issues when browsing the FreeBSD Git repo, which can easily contain more than 4000 references. ok naddy


implement an object ID map for reference lists ok naddy


fix assignment to wrong pointer in got_ref_dup() ok naddy


bump version number


CHANGES for 0.46


switch to strerror_r(3) in error.c for thread-safety


introduce got_custom_error array to support multiple errors in flight This is still not thread-safe but at least avoids errors overwriting each other in single-threaded contexts.


avoid signed vs unsigned comparisons in fetch.c ssizeof() macro idea courtesy of millert@ ok millert@


do not mix up repositories if tog's -r option is used inside a work tree with input from and ok naddy