Commit Briefs

Thomas Adam

missed style(9) fixes in previous commit

ok tb@


Thomas Adam

plug realloc memleak and style(9) fixes in expand_tab()

fixes and ok from tb@



Thomas Adam

fix an off-by-one in tog's draw_file() causing wrong diff output

This issue caused empty lines added in diffs to be displayed without leading + in the diff view. Problem found by op@ ok op jamsek



Thomas Adam

fix horizontal scrolling of unicode in tog log view

ok jamsek


Thomas Adam

fix horizontal scrolling bug in the blame view

ok op@, jamsek


Thomas Adam

show last-modified date in the "tog ref" view if the 'm' key is pressed

Patch by Mark Jamsek


Thomas Adam

implement horizontal scrolling for tog diff, blame, and log views

Patch by Mark Jamsek


Thomas Adam

revert "clear the rest of the pack_fds pointers"

There is no need to clear local variables before returning from a function. ok tracey





Thomas Adam

move got_opentempfd out of got_repo_open. ok stsp@

thanks for all the help massaging this diff


Thomas Adam

re-add u/d keybindings as aliases for Ctrl-u/d, matching more(1) and less(1)

patch by Mikhail


Thomas Adam

in tog, rework Ctrl+u/d to scroll by half a page, and drop d/u again

This matches actual behaviour of less(1) for Ctrl+u/d, and leaves d/u free for potential future use. Suggested by naddy. Patch by Mark Jamsek



Thomas Adam

move creation of tempfiles outside of lib/diff.c

ok tracey


Thomas Adam

portable: fix-up sha1.h include

-portable doesn't need this directly.



Thomas Adam

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@


Thomas Adam

portable: include sha1.h portably

Don't directly include sha1.h as this isn't always in the same location across systems.


Thomas Adam

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@


Thomas Adam

portable: freebsd: portably include sha1

The SHA implementation is found portably across systems, so don't include sha1.h directly.


Thomas Adam

inline struct got_object_id in struct got_object_qid

Saves us from doing a malloc/free call for every item on the list. ok op@