Commits


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


use size_t for loop indices to avoid signedness warnings; by emaste@freebsd Same change as 16aeacf7088d, for subdirectories other than lib/


replace unprintable characters with '.' before passing them to curses Otherwise, ncurses will replace them with some printable representation whose width we can't predict, and wunctrl() fails to return the replacement for 0x80..0x9f. ok stsp


reset tog blame view's scroll position if line count shrinks too much ok stsp


accommodate newer ncurses where panel_userptr() returns a const pointer ok stsp


use getline(3) instead of fparseln(3) in tog, for better portability ok millert


fix display of lines that end in "\r\n" in tog(1) Problem found and reported by jrick ok naddy


deep-copy reference names in the log and tree views to prevent use-after-free ok naddy


miscellaneous minor style issues


reload references when the log view is restarted with Ctrl-L


pass the thread_args struct to queue_commits() and trim the parameter list ok stsp


move the tree view's selection cursor up if the terminal shrinks too much ok naddy