|
b46c1e04
|
2020-09-20T22:22:04
|
|
Print newline to clear the bottom line when tog exits.
When a curses(3)-based application exits, the cursor is positioned
at the start of the bottom line, and the shell will issue the new
prompt there. However, the bottom line may still contain remnants
of the curses screen. This is only noticeable on terminals that
do not switch to/from an alternate screen buffer.
ok stsp
|
|
50b0790e
|
2020-09-11T17:04:57
|
|
add per-worktree got.conf(5) file in the .got directory; ok millert
|
|
ae6a6978
|
2020-08-09T21:56:11
|
|
speed up 'tog diff' get_filestream_info() a bit
With this, 'tog diff' is able to display clang 10 commits.
However, such huge diffs still take a rather long time to open.
get_filestream_info() is a hack. Ideally, diff line-offset information needed
by tog should be part of the result of the diff operation, rather than forcing
tog to calculate line offsets during a post-processing step.
|
|
7510f233
|
2020-08-09T20:37:53
|
|
simplify resource cleanup upon errors in get_filestream_info()
|
|
0dc7faa9
|
2020-08-09T20:33:12
|
|
fix double-free when quitting tog's diff view; found by ofree
at /home/stsp/src/got/tog/tog.c:3415
3415 free(s->line_offsets);
(gdb) bt
msg=0x80e2a4cd87e "chunk is already free %p")
at /usr/src/lib/libc/stdlib/malloc.c:300
check=1) at /usr/src/lib/libc/stdlib/malloc.c:1070
clear=0, check=<optimized out>, argsz=0)
at /usr/src/lib/libc/stdlib/malloc.c:1431
at /usr/src/lib/libc/stdlib/malloc.c:1488
at /home/stsp/src/got/tog/tog.c:3415
at /home/stsp/src/got/tog/tog.c:518
at /home/stsp/src/got/tog/tog.c:954
at /home/stsp/src/got/tog/tog.c:2728
at /home/stsp/src/got/tog/tog.c:5683
(gdb)
|
|
369eef86
|
2020-08-09T17:41:46
|
|
fix some memory leaks in tog
|
|
528c17dd
|
2020-07-31T13:01:24
|
|
use a more precise regex for color-highlighting 'commit' lines in 'tog log'
|
|
0587e10c
|
2020-07-23T14:21:28
|
|
add symlink support to 'got blame' and 'tog blame'
|
|
0d6c6ee3
|
2020-05-20T17:37:29
|
|
make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
|
|
0208f208
|
2020-05-05T09:53:57
|
|
show a list of paths changed in a commit with 'got log -P', and in tog
requested by matthieu@
|
|
79cc719f
|
2020-04-24T16:31:55
|
|
filter out "remote/*/HEAD" references in tog log view
|
|
d2ad595c
|
2020-04-09T10:48:58
|
|
fix "searching..." displayed in tog log view while merely scrolling down
|
|
f9686aa5
|
2020-03-27T09:35:53
|
|
show 'searching...' during 'tog log' search even if no new commits are loaded
|
|
f9967bca
|
2020-03-27T09:21:24
|
|
display "no matches found" if no commit matches a 'tog log' search
|
|
8f4ed634
|
2020-03-26T20:40:55
|
|
display "no more matches" indicator if 'tog log' search cannot find any
|
|
7c1452c1
|
2020-03-26T17:14:23
|
|
make 'tog log' consistently scroll one page upon page-down key (found by naddy)
|
|
1831ac02
|
2020-03-23T16:39:24
|
|
Subtract the status line from the number of lines to page up/down in the
log view.
ok stsp@
|
|
ee85c5e8
|
2020-02-29T11:13:12
|
|
map 'tog path' to 'tog log path' if possible; requested by mpi@
|
|
a2f4a359
|
2020-02-28T19:37:37
|
|
properly free cmd_argv in tog's main() function
|
|
dfd6c250
|
2020-02-28T19:36:57
|
|
fix typo in comment; found by mpi@
|
|
212b39d1
|
2020-02-24T11:57:12
|
|
Sync the description of the -r flag from "tree" to the other commands.
Clarify that if the current directory is a work tree, tog will pick
the repository associated with this work tree by default.
ok stsp
|
|
09b5bff8
|
2020-02-23T16:28:39
|
|
switch "tog diff" repository path argument to a new -r option
|
|
a273ac94
|
2020-02-23T16:28:39
|
|
fix "tog diff object1 object2" by actually extracting the repository path
from the work tree
|
|
dc990cbf
|
2020-02-22T20:42:55
|
|
document semantics of got log and tog log path arguments
|
|
ea025d1d
|
2020-02-22T20:29:17
|
|
add ^B/^F key bindings for page up/down in the "blame" and "tree" views
|
|
6962eb72
|
2020-02-20T15:11:59
|
|
unify formatting of common code in tog log, blame, and tree
|
|
e4a0e26d
|
2020-02-20T15:08:56
|
|
prevent possible double-free introduced in previous commit
|
|
55cccc34
|
2020-02-20T14:58:02
|
|
add an optional path argument to 'tog tree'
|
|
f135c941
|
2020-02-20T14:58:02
|
|
use a common helper function to get the path from argv in tog log and blame
|
|
cb1159f8
|
2020-02-19T13:41:31
|
|
fix misplaced tog search prompt in split-screen views
|
|
bb63914a
|
2020-02-17T21:57:56
|
|
make tmp dir location a compile-time setting and change gotweb's tmp dir
We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD.
Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.
|
|
66dc9065
|
2020-02-15T17:11:59
|
|
document the new search feature in tog's diff view
|
|
74283ab8
|
2020-02-07T18:02:57
|
|
switch 'tog tree' repository path argument to a new -r option
|
|
a0975128
|
2020-02-07T11:02:00
|
|
fix 'got blame' and 'tog blame' on files added on worktree's current branch
|
|
82954512
|
2020-02-03T18:10:18
|
|
revert 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491; it broke 'n' (search next)
In the log view, 'n' sometimes failed to search for the next matching commit
and tog dead-locked. So a yield or mutex unlock/lock is required for search
to work. Perhaps we need a different fix?
|
|
f5404e4e
|
2020-02-02T17:35:10
|
|
replace improperly removed break
|
|
3ffacbe1
|
2020-02-02T17:10:40
|
|
goto done and remove erroneous break
|
|
f44b1f58
|
2020-02-02T16:56:40
|
|
enable searching in tog diff view
ok stsp
|
|
5465d566
|
2020-02-01T17:32:31
|
|
prepare local variable in open_diff_view and close_diff_view for diff view searching
ok stsp
|
|
f43793a4
|
2020-01-27T22:14:23
|
|
fix a bug where 'got log PATH' failed to map PATH into the repository
The problem occured inside /usr/src/sys due to the /sys symlink,
where /usr/src was a got work tree. If a work tree is present we
already have the right path so checking the disk is pointless.
|
|
1137e0ae
|
2020-01-27T19:01:16
|
|
man page wording tweaks
|
|
b672a97a
|
2020-01-27T18:36:37
|
|
make 'tog log' show first-parent history by default; add -b option and B key
|
|
91b8c405
|
2020-01-25T11:41:24
|
|
tweak default colors for directories and symlinks in 'tog tree'
|
|
b55e96cf
|
2020-01-19T14:35:58
|
|
Remove redundant error check after got_object_id_by_path().
An error code is always returned when the oid is NULL.
|
|
a93813fa
|
2020-01-19T14:18:07
|
|
Remove double lock in error path.
|
|
6b8a2b8f
|
2020-01-19T13:46:59
|
|
Remove unnecessary pthread_yield(3).
In the two cases a context switch isn't necessary as the thread isn't
blocked and doesn't need to wait for its sibling.
|
|
71a27632
|
2020-01-15T19:26:49
|
|
move match_object_id() into the library; supersedes got_repo_resolve_commit_arg
|
|
7a1d6b72
|
2020-01-15T19:10:46
|
|
fix 'tog log -c' with tags
|
|
61266923
|
2020-01-14T18:44:19
|
|
fix suspending and resuming tog with Ctrl-Z and fg; issue reported by naddy@
|
|
f13374f4
|
2020-01-14T14:28:08
|
|
fix 'tog tree' usage displayed in error case (patch by naddy@)
|
|
6586ea88
|
2020-01-13T16:12:32
|
|
unbreak got and tog commands by disabling GNU extensions in getopt_long(3)
|
|
e801a566
|
2020-01-13T16:01:04
|
|
update usage
|
|
83cd27f8
|
2020-01-13T15:59:47
|
|
make got and tog accept a --version argument; -V option is a bit obscure
prompted by a question from tedu@
|
|
c5b78334
|
2020-01-12T20:40:31
|
|
make 'tog log PATH' fail again when a non-existent path is specified
|
|
33cbf02b
|
2020-01-12T17:10:45
|
|
fix switching to tog's tree view when logging a path; reported by naddy@
|
|
5aa81393
|
2020-01-06T19:38:23
|
|
add copyright year for files already touched in 2020
|
|
3d509237
|
2020-01-04T18:25:28
|
|
simplify got_commit_graph_open()
|
|
ee780d5c
|
2020-01-04T15:44:13
|
|
remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead
|
|
6db9f7f6
|
2019-12-10T11:42:22
|
|
always show numeric dates in ISO-8601/xkcd-1179 format
ok millert tracey sthen
|
|
56e0773d
|
2019-11-28T02:32:58
|
|
convert tree entries from SIMPLEQ to an array
|
|
dee2c213
|
2019-11-13T10:49:06
|
|
fix tog display issue caused by Tab in commit messages; reported by mpi@
|
|
ab2f42e7
|
2019-11-10T15:51:05
|
|
cache delta data buffers in an LRU cache
|
|
52e88aae
|
2019-11-08T19:52:37
|
|
use less empty padding space after author name in 'tog log'
|
|
11b20872
|
2019-11-08T14:28:58
|
|
add colors for 'tog log' and 'tog blame'
|
|
bddb1296
|
2019-11-08T13:51:18
|
|
more s/line_color/color/g in tog
|
|
f26dddb7
|
2019-11-08T13:50:01
|
|
rename tog_line_color to just tog_color
|
|
1d7fe5cd
|
2019-11-08T13:47:51
|
|
support the terminal's "default" color in tog color schemes
|
|
c0b01bdb
|
2019-11-08T13:41:11
|
|
add color support to 'tog tree'
|
|
7169caa2
|
2019-11-08T13:15:38
|
|
mark a tog-internal function as static
|
|
6d17833f
|
2019-11-08T13:10:36
|
|
add color support to 'tog diff'
|
|
6570a66d
|
2019-11-08T11:18:29
|
|
make 'tog log' show abbreviated commit IDs if the window is large enough
suggested by landry@
|
|
9ba1d308
|
2019-10-21T09:11:19
|
|
always show the input path when realpath(3) returns an error
|
|
7ca04879
|
2019-10-19T11:06:47
|
|
fix a tog log view performance bug when lots of commits are loaded
|
|
13add988
|
2019-10-15T11:12:56
|
|
fix interlocking between tog log and man threads during search
|
|
96cbb597
|
2019-10-09T08:24:38
|
|
remove worklist code; it was only used to unlink files which we already unlink
|
|
63035f9f
|
2019-10-06T19:24:31
|
|
add -w (ignore whitespace) option to 'got diff'
|
|
50284065
|
2019-10-04T15:09:09
|
|
fix bogus error return introduced in previous commit
|
|
e6b23735
|
2019-10-04T15:01:59
|
|
update reference list when 'tog log' view is refreshed with Ctrl+L
|
|
1cae65b4
|
2019-09-22T15:27:48
|
|
missing error checks in tog(1); found by jj@ with scan-build
|
|
e10c916e
|
2019-09-15T13:53:41
|
|
change "calloc" to "strdup" for strdup() NULL return value
|
|
27a741e5
|
2019-09-11T17:29:21
|
|
tog: fix cosmetic display issues involving \n and TABs
|
|
c9956ddf
|
2019-09-08T18:13:54
|
|
use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
|
|
aba9c984
|
2019-09-08T17:14:34
|
|
obtain repo format version and commit author name/email from .git/config
|
|
239f6369
|
2019-09-08T13:07:54
|
|
fix line-wrap for lines spanning the terminal in tog diff view
|
|
12314ad4
|
2019-08-31T09:38:14
|
|
make 'tog blame' release its work tree lock before the main loop
|
|
2fc00ff4
|
2019-08-31T09:34:36
|
|
make 'tog log' release its work tree lock before the main loop
|
|
fd9f4a2d
|
2019-08-28T18:45:16
|
|
tog: mbs2ws: fix sizeof of element for memory allocation
|
|
1d126e2d
|
2019-08-24T14:39:58
|
|
add support for reading .git/config; parser was based on isakmpd/conf.c
|
|
63c5ca5d
|
2019-08-24T20:56:15
|
|
detect and ignore Git submodules
|
|
b8bad2ba
|
2019-08-23T20:01:06
|
|
make 'got tag -l' list tags by time stamp in descending order
|
|
29606af7
|
2019-08-23T18:42:27
|
|
allow got_ref_list() to restrict returned refs to a particular namespace
|
|
fc06ba56
|
2019-08-22T12:07:56
|
|
support blame cancellation in 'tog blame' view
|
|
6fb7cd11
|
2019-08-22T11:33:50
|
|
add cancellation support to commit graph and 'got blame'
|
|
e6209546
|
2019-08-22T11:12:24
|
|
untie cancel callback declaration from the work tree
|
|
7d049c18
|
2019-08-22T00:42:19
|
|
tog: fix search prompt location in split-screen view
|
|
4c9641fd
|
2019-08-21T16:57:44
|
|
fix and simplify blame algorithm
Always diff against latest version of file. This is much easier
since there is no need to keep track of lines shifting around.
|
|
51fe7530
|
2019-08-19T11:53:01
|
|
have tog blame refresh display more often while annotation is in progress
|
|
b02560ec
|
2019-08-19T09:54:52
|
|
fix number of lines accounted for during blame
|
|
bc3056e3
|
2019-08-18T19:05:20
|
|
man page spelling fixes from Hiltjo Posthuma
|
|
0d8ff7d5
|
2019-08-15T00:15:32
|
|
rename got_blame_incremental() to got_blame()
|