Commits
- Commit:
2183bbf63dd94765e293607b7dd98e3254cbbf60
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show rebase and histedit backups in tog ref view
ok naddy
- Commit:
aa61903a98391367c09cf4130a838a7ee4b73791
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
4b3f9dac335ebd6cb7b838589a3f6b9766a49cc7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make tog searches start from the current position in all views
ok naddy@
- Commit:
de0d3ad4a4246cdcfac503b8d941ac298f2606a7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
let new 'tog log' searches start out from the currently selected commit
ok naddy tracey
- Commit:
98182bd0510e52dd5b397e4d797a3f06b9a91a55
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- 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:
c591440fff37d0195c98e6a7357f881ec9d5a8df
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make tog use got_reflist_sort() instead of reloading refs while sorting them
- Commit:
3bfadbd404f3e18e73d69ad6da6c0dbc8de67097
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow sorting references by timestamp in tog
- Commit:
f7140bf5466ac08e50c960b81fbf24800a66c39c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: add Ctrl-n/Ctrl-p shortcuts scrolling one line down/up; patch by Omar Polo
- Commit:
cc8021afc28da386d1cab85b4d74b632b90e0108
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement 'got diff -c' for diffing commits with optional filtering by path
Need for filtering by path sugggested by kn@
ok naddy@
- Commit:
def2f97048d39f24c4938a0ef92b6294480482c2
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: tog: add back _XOPEN_SOURCE_EXTENDED
As with OpenBSD, FreeBSD requires that _XOPEN_SOURCE_EXTENDED is defined
before including <ncurses.h>, otherwise things break.
On other systems (Linux), _XOPEN_SOURCE_EXTENDED is already defined, so
leaving that declared unconditionally throws an error. Keep the
definition, but only include it on !Linux systems.
Issue reported by Christian "naddy" Weisgerber
- Commit:
ac4dc26386a91b9c488d78fd7065780e1eaf33d7
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show parent commit IDs of merge commits in the tog diff view
ok tracey
- Commit:
89a927a3b498f342fadc937425f55c337d64c796
- From:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
tog: make blame view work
Fix the thread comparison with tog's blame view.
- Commit:
acf52a76031e15e6a2bbe327bc4291a2867ae143
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
ncurses: only look for widechar version
When checking for ncurses, only check against the widechar version of
the library, otherwise the code won't work correctly, despite it
compiling properly.
Helped by Thomas Dickey.
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- 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