Commits
- 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
- Commit:
4deef56fe9fdbfef7d2ecd12947ff515a0daae78
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog: add support for navigating to first/last line of blame view
ok tracey stsp
- Commit:
528dedf3fe0051922cb1a66083fce16ac0057753
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog block other keys except Backspace after End/G is pressed
This should avoid unexpected behaviour resulting from unrelated
key presses messing with the log view's state variables.
Pointed out by tracey, and also discussed with jasper.
ok tracey
- Commit:
00f6361c1e0301276370cb0c7a731cb8b99caa2b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
remove the 'ctrl+u' shortcut in favor of just 'g' in the diff view, too
- Commit:
751490770ba7a1fe3669a4a604d7412ba8cba776
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog ignore Ctrl+L and B while loading all commits
Otherwise tog gets into a funky non-recoverable state if these
keys are pressed instead of Backspace while commits are loading.
bug found by + ok tracey
- Commit:
27890b182992d202636b55c305e5dc4175f4cd0b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove the 'ctrl+u' shortcut in favour of just 'g' as alias for 'Home'
Our use of ctrl+u was not consistent with vi(1) after all.
Discussed with naddy, tb, and jasper on gameoftrees@
- Commit:
fb280deb15e67b1bd8ef0f722a7430b8e9312871
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Allow commit loading trigged by the End/G keys to be cancelled with Backspace.
ok jasper
- Commit:
912a3f7945204384e4aa755c41dd4e89a855ef38
- From:
- Jasper Lievisse Adriaanse <j@jasper.la>
- Date:
tog: add support for navigating to first/last item of log and diff views
The keybindings that we settled on are Home, Ctrl-u and g to go to the
first item and End, G to go to the last. This resembles those commonly
found elsewhere, eg vi/less.
discussed with and ok stsp
- Commit:
e385fc421f331989f2e6518465e5ead42e5a0618
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use gmtime_r(3) instead of localtime_r(3) to display time in UTC as intended
Problem noticed by naddy due to failing regress tests at midnight, and then
analyzed with additional help from millert.
ok naddy