Commits


check for close(2) error in got_repo_close() and propagate errors up ok tracey


Fix strftime(3) short buffer checks strftime(3) returns 0 if the buffer was too short to write the complete string (including NUL) and will never return more than maxsize-1. ok stsp


tog: fix behaviour when 'n' is pressed before a search was started with '/' reported by + ok naddy


make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere ok millert, naddy


fix 'tog blame' segfault upon empty input file; reported by + ok naddy


tog log: terminate author field at '>' in case there is no '@' ok stsp


rename got_reflist_object_map_free to got_reflist_object_id_map_free


remove a comment that is now misleading


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


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


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