Commit Briefs
fix horizontal scrolling bug in the blame view
ok op@, jamsek
show last-modified date in the "tog ref" view if the 'm' key is pressed
Patch by Mark Jamsek
implement horizontal scrolling for tog diff, blame, and log views
Patch by Mark Jamsek
revert "clear the rest of the pack_fds pointers"
There is no need to clear local variables before returning from a function. ok tracey
move got_opentempfd out of got_repo_open. ok stsp@
thanks for all the help massaging this diff
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
portable: fix-up sha1.h include
-portable doesn't need this directly.
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@
portable: include sha1.h portably
Don't directly include sha1.h as this isn't always in the same location across systems.
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@
portable: freebsd: portably include sha1
The SHA implementation is found portably across systems, so don't include sha1.h directly.
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@
stop relying on commit cache for good performance of got_object_id_by_path()
Instead of internally opening and closing the same commit object over and over again, require callers to pass an open commit object in. Avoids an inherent dependency on the commit object cache for reasonable performance. ok op@
portable: include support for MacOS
This adds support for MacOS (Monteray onward, although should work on older MacOSes). The BSD wrapper for poll/ppoll has been lifted from the work the folks over at OpenSSH have done -- thanks!
tweak error reporting due to invalid numbers
Use the same idiom as in the strtonum(3) manpage which produces a more readable error message. OK kn, stsp