Commits
- Commit:
33c3719a3133ea565d69348d51b7a65485dbbcee
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
re-add u/d keybindings as aliases for Ctrl-u/d, matching more(1) and less(1)
patch by Mikhail
- Commit:
83cc419999b834998fd2a5e5347a8c6226c03f9c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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
- Commit:
80b7e8dae89b7912b88913f686ea0a23bd763a8d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add less(1)-style key bindings for up/down to tog; patch by Mikhail
- Commit:
b72706c3d172544098fcd24fd639374694a8fce9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move creation of tempfiles outside of lib/diff.c
ok tracey
- Commit:
2497f032fa6bc06264d8990fdd57a9ffbaf1429b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: override SIGTERM and SIGINT handlers to avoid ncurses cleanup() handler
ok thomas
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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@
- Commit:
392891ce58d003c4ae3d634509a29ca020f12e92
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass an already open commit object to the blame callback
ok op@
- Commit:
a44927cc053de352796022400f27bce4522b407c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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@
- Commit:
3e1665345ba868287dfd11c63dbeb10ce68fb922
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
const-ify command and option tables
ok stsp
- Commit:
5a20d08d6546fa260cd5ce2ed01e438f5ec35f41
- From:
- Omar Polo <op@omarpolo.com>
- Date:
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
- Commit:
cc488aa7db8918cffaac68ebc8fdde49511024e4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show rebase and histedit backups in tog ref view
ok naddy
- Commit:
67b5eae12158038ee5cb00b808702891527cd70e
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: clear search highlighting when reloading view
Clear the search highlighting when replacing the content of a diff
view ('<', '>', '[', ']', 'a', 'w') or a blame view ('b', 'p', 'B').
Previously the position would remain highlighted even if the text
there had changed.
ok stsp@
or a blame view
- Commit:
487cd7d2bc0f29c4fb6800c8c815be552ad06ea6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog searches start from the current position in all views
ok naddy@
- Commit:
5a5ede53c0cd62e19882a7090ef08f4c817c21e9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let new 'tog log' searches start out from the currently selected commit
ok naddy tracey
- Commit:
07a065feeb70f520295e3e449c377060733dd980
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch tog ref view's sort order command key to "o" instead of "s"
The letter "o" does not overlap with existing options of 'got ref'
and is also used by mutt(1) for this purpose.
- Commit:
50617b77af7b0af9788a0e4b09697e06067cb8f4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog use got_reflist_sort() instead of reloading refs while sorting them
- Commit:
7f66531d28466880142708210643464d65b9b63b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow sorting references by timestamp in tog
- Commit:
02ffd0d540e3bfc2c0aaea16dd2272d0e695e287
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: add Ctrl-n/Ctrl-p shortcuts scrolling one line down/up; patch by Omar Polo
- Commit:
67b631c9e0d2c43ceeda1a387ba696b2d34a1035
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'got diff -c' for diffing commits with optional filtering by path
Need for filtering by path sugggested by kn@
ok naddy@
- Commit:
9f98ca0596877b609e3785a877d36dca6c774c24
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show parent commit IDs of merge commits in the tog diff view
ok tracey
- Commit:
3da8ef855d7d7b3da96a9f1cba55df276e112f11
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: use sched_yield(2) instead of pthread_yield(3) for portability
pthread_yield(3) is an optional POSIX 2001 extension while sched_yield(2)
is part of POSIX 2008. On OpenBSD they are actually equivalent, albeit not
documented as such. Using sched_yield(2) helps the -portable version.
Patch by Quentin Rameau
- Commit:
6062e8ea890c053733ec0ad3387a40da18a45cda
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog: document why _XOPEN_SOURCE_EXTENDED is set and don't undefine it
- Commit:
f3bc9f1df29f91c63ed334a1a9c8929209f93fdc
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: when jumping to the bottom of the log view, go from the tail backwards
ok jasper
- Commit:
ea66598afcb6fd0bfa2c6cad9532450223c85054
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: jump directly to first log item instead of traversing the list
ok tracey
- Commit:
e4526bf56efa8d234d206abac903deccceed4f17
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: add support for navigating to first/last line of tree and ref views
ok stsp