Commits
- Commit:
27829c9eecdd45b95815c64d7fea5216ca5bf259
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reset tog diff view's scroll position if diff context shrinks too much
- Commit:
64453f7e55c4c69b6cd08229929ed8227b789ff8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle binary files in got/tog diff commands; add -a options to force text
- Commit:
be659d10a8dd75e169fb7a246f54238dfc4386e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix type of filesize output parameter of got_object_blob_dump_to_file()
- Commit:
8fa913ec61095de669c9ca40e3cd782d53c85bdc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove now pointless 'check_disk' parameter of got_repo_map_path()
suggested by naddy
- Commit:
bfd61697d22df765ef7a98856bc68c4b19109c6e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog avoid got_repo_map_path() if a work tree is available
ok naddy
- Commit:
276b94a1f9ff915aab767e558957527ccddf43e9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Call pthread_cond_destroy(cond) exactly once when closing a view.
This moves the pthread_cond_destroy(need_commits) from stop_log_thread(),
which can be called twice, to close_log_view(), which is called
once. It also destroys the commit_loaded condition variable, which
is created in open_log_view() but was never destroyed.
ok stsp
- Commit:
41605754d020cd4be569b2dffdfac47451ea8925
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
highlight matched search terms in tog diff and tog blame views
ok naddy@
- Commit:
135a2da0c5bd18fcf65ac142fa604ec03ad1aa2d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
show current/total line numbers in tog's diff view header
- Commit:
e54cc94af2217992a549a0ae0cf2d38314120297
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug two memory leaks in tog's draw_file()
- Commit:
fe621944e83fe6367f7bff97128b4240a9cdc7c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
merge new diff implementation from the git.gameoftrees.org diff.git repository
This new diff implementation was started by Neels Hofmeyr during the u2k20
hackathon and now replaces diffreg.c code lifted from the OpenBSD base system.
The integration of this code into Got was done by me.
Got now uses the patience diff algorithm by default.
The diff.git repository will remain the primary repository for the diff code,
which already compiles and runs on other operating systems such as Linux.
Any fixes and improvements for files inherited from the diff.git repository
should be written against that repository and synced to got.git afterwards.
- 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.