Commits
- Commit:
62d463cac1fd99c423acb07c0367c649724a2a9a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
74cfe85e3941b6738539031e8c2cf8e59db13eab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use got_path_dirname() in tog's input_log_view(); avoids const dirname(3)
ok naddy
- Commit:
6879ba4225a833ea466b3512329293abfd9bf33a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not treat the -h and -V flags as errors
When run with the -h or -V option, output the help or version text
to stdout and exit with success (0). Only write usage and help
information to stderr and exit with error (1) if there is a mistake
in the command syntax.
tweak and ok stsp
- Commit:
9814e6a376df853a88deb889d68f178c803ad8ca
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
prefer the BSD extension to reset getopt over the GNU one
Sadly there is no portable way to reset getopt(3).
BSD: optind = 1; optreset = 1;
GNU: optind = 0;
ok stsp
- Commit:
48cae60d0ae734495d85aa8a8d9409e71cfe7d76
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make dangling symbolic references show up in 'got ref -l'
Storing a resolved ID for each reference list item was a bad idea.
This ID cannot be resolved if a symbolic references points to a reference
which does not exist. Such symrefs were skipped by got ref -l as a result.
Just let users of reference lists resolve the IDs as needed.
- Commit:
b46c1e045aae963c26a2e4959236dcdd6c285813
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
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
- Commit:
ae6a69782e0a92064dbfeb83896ce38a90977414
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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.
- Commit:
7510f233f013971b4e0e7137722854f8f5c1e52b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify resource cleanup upon errors in get_filestream_info()
- Commit:
0dc7faa9e43711899b05ff94aa85278352daf2fc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
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)
- Commit:
369eef86a8da74dcb95f04df3a266d9b8c8d2d9b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix some memory leaks in tog
- Commit:
528c17ddfb50dc3e1efdba2fcfec0bff8a1f2c01
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use a more precise regex for color-highlighting 'commit' lines in 'tog log'
- Commit:
0587e10c4c4e054f8aeda2bd499b76c0ec60dc40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add symlink support to 'got blame' and 'tog blame'
- Commit:
0d6c6ee302022b4b2746cd5a85df1f34f8891b9c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
- Commit:
0208f208304c36921fbcd86d33751b877aab1e96
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show a list of paths changed in a commit with 'got log -P', and in tog
requested by matthieu@
- Commit:
79cc719fb21cd573f0b669dddf501e3fa5b389fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
filter out "remote/*/HEAD" references in tog log view
- Commit:
d2ad595c2cf140e23c761ef62916dbc49b40f66b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix "searching..." displayed in tog log view while merely scrolling down
- Commit:
f9686aa566bfec8d68b52910b3448bdaeb5d2358
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show 'searching...' during 'tog log' search even if no new commits are loaded
- Commit:
f9967bca13c359aa4ba51c67a63fad42f9569626
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
display "no matches found" if no commit matches a 'tog log' search
- Commit:
8f4ed63441b6c8e9c29c4db32ad615a1657aa1ac
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
display "no more matches" indicator if 'tog log' search cannot find any
- Commit:
7c1452c14b890849b898f0c935faf35d1042f71c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog log' consistently scroll one page upon page-down key (found by naddy)
- Commit:
1831ac029c57d391f90a06e6aaf7f30e6b855ff7
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Subtract the status line from the number of lines to page up/down in the
log view.
ok stsp@
- Commit:
ee85c5e898e10f72841c918d9f453a6526ef7e2e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
map 'tog path' to 'tog log path' if possible; requested by mpi@
- Commit:
a2f4a3591f215ab55f58ef4ee630b960af87a4d5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly free cmd_argv in tog's main() function
- Commit:
dfd6c25013ffa89ef7879d8f6a2548f989c4f3ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typo in comment; found by mpi@
- Commit:
09b5bff804353d5930f67d05e453815493aeb225
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch "tog diff" repository path argument to a new -r option