Releases: jonas/tig
tig-2.5.10
Bug fixes:
- Fix
stat-*
coloring file names intig status
instead of just
markers (regression in 2.5.9). (#1326) - Fix keybinding with +[cmd] not triggering view refreshing. (#1324)
- Fix reopening the blame view from the main view.
- Fix editing when stdin is redirected. (#1330)
- Fix compilation warnings with ncurses 6.5.
- Make
Ctrl-C
to kill only the command running in the foreground. (#1331)
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 ++--
Makefile | 2 +-
NEWS.adoc | 13 +++++++++++++
include/tig/io.h | 2 +-
include/tig/tig.h | 2 ++
src/blame.c | 11 +++++++++--
src/display.c | 15 +++++++--------
src/draw.c | 12 +++++++-----
src/io.c | 18 +++++++++++++++---
src/main.c | 8 ++++++++
src/status.c | 4 ++--
src/tree.c | 5 ++---
src/view.c | 5 +++--
13 files changed, 72 insertions(+), 29 deletions(-)
Thomas Koutcher (6):
Fix keybinding with +[cmd] not triggering view refreshing (#1324)
Fix reopening the blame view from the main view
Fix editing when stdin is redirected
Fix compilation warnings with ncurses 6.5
Make `Ctrl-C` to kill only the command running in the foreground
tig-2.5.10
xaizek (1):
Fix incorrect filename coloring in tig status (#1326)
tig-2.5.9
Improvements:
- Update utf8proc to v2.9.0, supporting Unicode 15.1.
- Also use lightweight tags in the Refs line of the diff view. (#1235)
- Support %(text) in all views with a text column. (#1275)
- Use HTTPS for GitHub clone URLs. (#1310)
- Move default log view options to tigrc.
- Allow to go to stage view without Enter. (#1284)
- Add new "prefetch" reference type for refs created by
git maintenance
(hidden in default config). (#1318) - Show the selected commit in the blame view title window.
- Improve the blob view experience.
- Clear keybinding from all keymaps (unbind) with
bind generic <key> none
.
Bug fixes:
- Fix "dangling pointer" warning. (#1268)
- Don't use array size in function arguments. (#1269)
- Fix rpmbuild -ta. (#1276)
- Initialise struct timezone. (#1291)
- Fix NULL dereference at startup. (#1293)
- Enforce a blank before view scroll percentage.
- Fix refresh-mode periodic not updating branch labels. (#1270)
- Fix display non-ascii character. (#1299)
- Fix readline echo when stdin is redirected. (#1229)
- Fix tig blame --reverse. (#1300)
- Fix status view lockup.
- Fix untracked changes and chunk staging behaviour in plain stage view.
- Reset state variables when selecting a commit with no reference.
- Fix parsing of
git ls-tree
for submodules. (#1282)
Change summary
The diffstat and log summary for changes made in this release.
.github/workflows/linux.yml | 2 +-
.github/workflows/macos.yml | 15 +-
INSTALL.adoc | 6 +-
Makefile | 2 +-
NEWS.adoc | 34 +
README.adoc | 2 +-
compat/compat.h | 2 +-
compat/utf8proc.c | 61 +-
compat/utf8proc.h | 18 +-
compat/utf8proc_data.c | 21771 ++++++++++++++-------------
compat/wordexp.c | 2 +-
contrib/git-flow.tigrc | 1 -
contrib/large-repo.tigrc | 3 +
contrib/tig-completion.bash | 2 +-
contrib/tig.spec.in | 2 +-
contrib/vim.tigrc | 3 +-
doc/manual.adoc | 14 +-
doc/tig.1.adoc | 2 +-
doc/tigrc.5.adoc | 22 +-
include/tig/apps.h | 2 +-
include/tig/argv.h | 8 +-
include/tig/blame.h | 2 +-
include/tig/blob.h | 2 +-
include/tig/diff.h | 2 +-
include/tig/display.h | 2 +-
include/tig/draw.h | 2 +-
include/tig/git.h | 2 +-
include/tig/graph.h | 2 +-
include/tig/grep.h | 2 +-
include/tig/help.h | 2 +-
include/tig/io.h | 2 +-
include/tig/keys.h | 2 +-
include/tig/line.h | 2 +-
include/tig/log.h | 2 +-
include/tig/main.h | 2 +-
include/tig/map.h | 2 +-
include/tig/options.h | 2 +-
include/tig/pager.h | 2 +-
include/tig/parse.h | 2 +-
include/tig/prompt.h | 2 +-
include/tig/refdb.h | 2 +-
include/tig/reflog.h | 2 +-
include/tig/refs.h | 2 +-
include/tig/repo.h | 2 +-
include/tig/request.h | 2 +-
include/tig/search.h | 2 +-
include/tig/stage.h | 2 +-
include/tig/stash.h | 2 +-
include/tig/status.h | 2 +-
include/tig/string.h | 13 +-
include/tig/tig.h | 6 +-
include/tig/tree.h | 2 +-
include/tig/types.h | 5 +-
include/tig/ui.h | 2 +-
include/tig/util.h | 2 +-
include/tig/view.h | 2 +-
include/tig/watch.h | 2 +-
src/apps.c | 2 +-
src/argv.c | 16 +-
src/blame.c | 22 +-
src/blob.c | 18 +-
src/diff.c | 4 +-
src/display.c | 14 +-
src/draw.c | 13 +-
src/graph-v1.c | 2 +-
src/graph-v2.c | 2 +-
src/graph.c | 2 +-
src/grep.c | 5 +-
src/help.c | 2 +-
src/io.c | 2 +-
src/keys.c | 29 +-
src/line.c | 2 +-
src/log.c | 9 +-
src/main.c | 19 +-
src/map.c | 2 +-
src/options.c | 4 +-
src/pager.c | 4 +-
src/parse.c | 8 +-
src/prompt.c | 2 +-
src/refdb.c | 5 +-
src/reflog.c | 2 +-
src/refs.c | 3 +-
src/repo.c | 2 +-
src/request.c | 2 +-
src/search.c | 2 +-
src/stage.c | 14 +-
src/stash.c | 3 +-
src/status.c | 18 +-
src/string.c | 18 +-
src/tig.c | 2 +-
src/tree.c | 53 +-
src/types.c | 2 +-
src/ui.c | 2 +-
src/util.c | 4 +-
src/view.c | 27 +-
src/watch.c | 12 +-
test/blame/default-test | 8 +-
test/blame/initial-diff-test | 2 +-
test/blame/revargs-test | 4 +-
test/blame/start-on-line-test | 2 +-
test/blame/stash-test | 6 +-
test/diff/diff-context-test | 8 +-
test/diff/diff-wdiff-context-test | 8 +-
test/diff/wrap-lines-test | 2 +-
test/grep/editor-test | 2 +-
test/help/user-command-test | 2 +-
test/log/submodule-test | 2 +-
test/main/emoji-test | 2 +-
test/main/mailmap-test | 2 +-
test/main/vertical-lines-test | 6 +-
test/main/view-split-test | 10 +-
test/regressions/github-434-test | 2 +-
test/stage/default-test | 56 +
test/tigrc/command-value-long-test | 2 +-
test/tools/libgit.sh | 2 +-
test/tools/libtest.sh | 2 +-
test/tools/show-results.sh | 2 +-
test/tools/test-graph.c | 2 +-
tigrc | 17 +-
tools/announcement.sh | 2 +-
tools/doc-gen.c | 2 +-
tools/header.h | 2 +-
tools/install.sh | 2 +-
tools/make-builtin-config.sh | 2 +-
tools/release.sh | 2 +-
tools/uninstall.sh | 2 +-
126 files changed, 11447 insertions(+), 11136 deletions(-)
Abhinav Gupta (1):
update_view_title: Fix NULL dereference at startup (#1293)
Armin Brauns (1):
refdb: ignore prefetch refs (#1318)
Conor Lowry (1):
fix date so rpmbuild completes
Jakub Wilk (1):
Use HTTPS for GitHub clone URLs (#1310)
Kimihiro Nonaka (2):
Cast the argument passed to is*() function in ctype.h to unsigned char.
Fixed an issue where is*() function argument was not cast as unsigned char.
Pavel Roskin (2):
Fix "dangling pointer" warning
Don't use array size in function arguments
Thomas Koutcher (24):
Fix macOS CI
Enforce a blank before view scroll percentage
Fix refresh-mode periodic not updating branch labels
Update utf8proc to v2.9.0
Update GitHub checkout action to v4
Also use lightweight tags in the Refs line of the diff view
Fix readline echo when stdin is redirected
Support %(text) in all views with a text column
Fix tig blame --reverse
Move default log view options to tigrc
Fix status view lockup
Allow to go to stage view without Enter
Fix chunk staging behaviour in plain stage view
Bump copyright year to 2024
Update NEWS
Minor update to tigrc and doc
Fix untracked changes staging behaviour in plain stage view
Fix regression introduced in e2f1af4
Show the selected commit in the blame view title window
Reset state variables when selecting a commit with no reference
Improve the blob view experience
Clear keybinding from all keymaps (unbind) with `bind generic <key> none`
Fix parsing of `git ls-tree` for submodules
tig-2.5.9
Wesley Moore (1):
Initialise struct timezone (#1291)
tig-2.5.8
Improvements:
- Update utf8proc to v2.8.0, supporting Unicode 15.
- Support editing from the pager and the log (-p) views. (#1243)
- Adjust build for native Apple Silicon.
- Autoscroll the pager view while loading. (#1223)
- Automatically show next diff in the status view. (#413, #469)
- Replace
Unknown
author withNot Committed Yet
. - Allow use of regular expressions for coloring. (#1249)
- Add support for option word-diff-regex. (#1252)
- Include original blob name in temporary filename. (#1254)
Bug fixes:
- Use %(file_old) for old filename in the blame view. (#1226)
- Correctly report which version of libncurses was linked. (#1240, #1241)
- Fix stage view closing when holding the ] key. (#1245)
- Make tests work from a path with symlinks.
- Fix encoding of very long lines. (#1227)
- Fix diffstat color for tig log -p.
- Clean IO before closing a view or quitting.
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 +-
Makefile | 2 +-
NEWS.adoc | 25 +
compat/utf8proc.c | 2 +-
compat/utf8proc.h | 2 +-
compat/utf8proc_data.c | 6550 ++++++++++----------
contrib/config.make-Darwin | 12 +-
doc/manual.adoc | 8 +-
doc/tig.1.adoc | 5 +
doc/tigrc.5.adoc | 12 +-
include/tig/argv.h | 1 +
include/tig/line.h | 1 +
include/tig/options.h | 1 +
include/tig/pager.h | 1 -
include/tig/tig.h | 14 +
include/tig/view.h | 11 +-
src/argv.c | 11 +
src/blame.c | 7 +-
src/blob.c | 2 +-
src/diff.c | 6 +-
src/display.c | 1 -
src/io.c | 36 +-
src/line.c | 22 +-
src/log.c | 5 +-
src/options.c | 61 +-
src/pager.c | 8 +-
src/prompt.c | 3 +-
src/stage.c | 34 +-
src/stash.c | 3 -
src/tig.c | 37 +-
src/util.c | 6 +-
src/view.c | 41 +-
test/diff/submodule-editor-test | 2 +-
test/main/boundary-test | 12 +-
test/main/goto-test | 96 +-
test/main/merge-test | 12 +-
test/main/refresh-periodic-test | 22 +-
test/main/refresh-test | 14 +-
test/main/show-changes-after-rename-test | 2 +-
test/main/show-changes-test | 60 +-
test/main/untracked-test | 16 +-
test/main/update-unstaged-changes-test | 4 +-
test/stage/maximized-unstaged-changes-test | 4 +-
test/status/file-name-test | 21 +-
test/status/submodule-editor-test | 2 +-
test/tools/libtest.sh | 2 +-
test/tree/submodule-editor-test | 2 +-
tigrc | 9 +-
48 files changed, 3801 insertions(+), 3413 deletions(-)
Alex Daily (1):
Support editing from the pager view (#1243)
Mahmoud Al-Qudsi (1):
Correctly report which version of libncurses was linked (#1241)
Sebastian Gniazdowski (1):
Autoscroll in pager (#1223)
Thomas Koutcher (21):
Fix tests not working with Git 2.38.1
Update utf8proc to v2.8.0
Support editing from the log (-p) view
Use %(file_old) for old filename in the blame view
Fix stage view closing when holding the ] key
Documentation update
Adjust build for native Apple Silicon
Make tests work from a path with symlinks
Various cleanups
Automatically show next diff in the status view
Replace `Unknown` author with `Not Committed Yet`
Fix encoding of very long lines
Fix diffstat color for tig log -p
Allow use of regular expressions for coloring
Clean IO before closing a view or quitting
Add support for option word-diff-regex
Include original blob name in temporary filename
Replace sprintf() function with snprintf()
Update NEWS
Fix warning introduced by #1255
tig-2.5.8
alice (1):
fix some implicit declarations (#1255)
tig-2.5.7
Bug fixes:
- Fix running tests as root. (#1224)
- Fix parsing of status.showUntrackedFiles. (#1219)
- Avoid incorrect history path when $XDG_DATA_HOME is valid. (#1215, #1217)
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 ++--
Makefile | 2 +-
NEWS.adoc | 9 +++++++++
src/options.c | 3 ++-
src/prompt.c | 8 ++++++--
test/tools/libgit.sh | 4 ++--
6 files changed, 22 insertions(+), 8 deletions(-)
Chih-Hsuan Yen (1):
Avoid incorrect history path when $XDG_DATA_HOME is valid (#1217)
Thomas Koutcher (3):
Fix running tests as root
Fix parsing of status.showUntrackedFiles
tig-2.5.7
tig-2.5.6
Bug fixes:
- Fix
:goto <tag>
. (#1178) - Fix typo in ui.c.
- Revert terminal hacks and workarounds. (#748, #943, #1180, #1182)
- Fix opening of an ambiguous ref in refs view.
- Fix search when view is loading.
- Use the full width for diffstat in the stage view.
- Improve escaping of variables in external commands.
- Fix cursor behaviour during staging. (#842, #1028)
- Fix navigation in split tree view.
- Enable textconv in the stage view.
- Enable textconv in the blame view and fix blame -L. (#978, #1189)
- Update lineno for untracked files. (#1192)
- Fix alignment of transliterated text. (#1195)
- Fix word diff in the stage, stash and blame views. (#1207)
- Fix reading the value of status.showUntrackedFiles. (#1211)
- Honor commit_title:no in view settings.
- Fix segfault with PCRE.
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 +-
Makefile | 2 +-
NEWS.adoc | 23 +++++++
appveyor.yml | 1 +
compat/compat.h | 2 +-
compat/wordexp.c | 2 +-
contrib/tig-completion.bash | 2 +-
contrib/tig.spec.in | 2 +-
doc/manual.adoc | 2 +-
doc/tig.1.adoc | 13 ++--
doc/tigrc.5.adoc | 2 +-
include/tig/apps.h | 2 +-
include/tig/argv.h | 2 +-
include/tig/blame.h | 2 +-
include/tig/blob.h | 2 +-
include/tig/diff.h | 2 +-
include/tig/display.h | 2 +-
include/tig/draw.h | 2 +-
include/tig/git.h | 22 ++++---
include/tig/graph.h | 2 +-
include/tig/grep.h | 2 +-
include/tig/help.h | 2 +-
include/tig/io.h | 2 +-
include/tig/keys.h | 2 +-
include/tig/line.h | 2 +-
include/tig/log.h | 2 +-
include/tig/main.h | 2 +-
include/tig/map.h | 2 +-
include/tig/options.h | 2 +-
include/tig/pager.h | 2 +-
include/tig/parse.h | 4 +-
include/tig/prompt.h | 2 +-
include/tig/refdb.h | 2 +-
include/tig/reflog.h | 2 +-
include/tig/refs.h | 2 +-
include/tig/repo.h | 2 +-
include/tig/request.h | 2 +-
include/tig/search.h | 2 +-
include/tig/stage.h | 2 +-
include/tig/stash.h | 2 +-
include/tig/status.h | 2 +-
include/tig/string.h | 2 +-
include/tig/tig.h | 2 +-
include/tig/tree.h | 2 +-
include/tig/types.h | 2 +-
include/tig/ui.h | 2 +-
include/tig/util.h | 2 +-
include/tig/view.h | 3 +-
include/tig/watch.h | 2 +-
snap/snapcraft.yaml | 2 +-
src/apps.c | 2 +-
src/argv.c | 15 +++--
src/blame.c | 120 ++++++++++-------------------------
src/blob.c | 2 +-
src/diff.c | 5 +-
src/display.c | 54 ++--------------
src/draw.c | 22 ++++---
src/graph-v1.c | 2 +-
src/graph-v2.c | 2 +-
src/graph.c | 2 +-
src/grep.c | 2 +-
src/help.c | 2 +-
src/io.c | 2 +-
src/keys.c | 2 +-
src/line.c | 2 +-
src/log.c | 2 +-
src/main.c | 2 +-
src/map.c | 2 +-
src/options.c | 37 +++++------
src/pager.c | 2 +-
src/parse.c | 15 ++---
src/prompt.c | 4 +-
src/refdb.c | 2 +-
src/reflog.c | 2 +-
src/refs.c | 4 +-
src/repo.c | 2 +-
src/request.c | 2 +-
src/search.c | 10 ++-
src/stage.c | 12 ++--
src/stash.c | 7 +-
src/status.c | 22 +++++--
src/string.c | 9 +--
src/tig.c | 6 +-
src/tree.c | 2 +-
src/types.c | 2 +-
src/ui.c | 12 ++--
src/util.c | 2 +-
src/view.c | 52 +++++++++------
src/watch.c | 2 +-
test/blame/initial-diff-test | 47 ++++++++++++--
test/tigrc/escape-var-test | 4 +-
test/tools/libgit.sh | 2 +-
test/tools/libtest.sh | 2 +-
test/tools/show-results.sh | 2 +-
test/tools/test-graph.c | 2 +-
tigrc | 18 ++++--
tools/announcement.sh | 2 +-
tools/doc-gen.c | 2 +-
tools/header.h | 2 +-
tools/install.sh | 2 +-
tools/make-builtin-config.sh | 2 +-
tools/release.sh | 2 +-
tools/uninstall.sh | 2 +-
103 files changed, 345 insertions(+), 352 deletions(-)
Alexey Storozhev (1):
Fix reading the value of status.showUntrackedFiles (#1211)
Thomas Koutcher (26):
Fix `:goto <tag>`
Fix typo in ui.c
Revert terminal hacks and workarounds
Fix opening of an ambiguous ref in refs view
Fix search when view is loading
Use the full width for diffstat in the stage view
Update NEWS
Improve escaping of variables in external commands
Bump copyright year to 2022
Update license in spec file
Add an initial compact custom date format
Fix cursor behaviour during staging
Fix navigation in split tree view
Enable textconv in the stage view
Fix AppVeyor build
Enable textconv in the blame view and fix blame -L (#1190)
Restore jump to the blamed line
Update blame test
Fix alignment of transliterated text
Oops, input length must be adjusted as well
Create tig directory in $XDG_DATA_HOME
Fix word diff in the stage, stash and blame views
Honor commit_title:no in view settings
Minor cleanups
Fix segfault with PCRE
tig-2.5.6
Yuki Ito (1):
Update lineno for untracked files (#1193)
tig-2.5.5
Improvements:
- Make word-diff a toggleable option. (#1119, #1125)
- Add Linux installation instructions. (#1121, #1126)
- Allow :back to work across separate blame views. (#1123, #1127)
- Add auto-refresh to log view. (#1128)
- Expose
%(file_old)
, useful for deleted and renamed files. (#1132) - Enable jumping back in main view. (#628, #1138)
- Add PCRE (Perl Compatible Regular Expressions) support. (#1137, #1143)
- Pass command line args through to diff-files in status view. (#1152, #1155)
- Remove quotes from TIG_LS_REMOTE to allow inline shell commands. (#1160, #1161)
- Avoid pushing identical history state in main view.
- Replace useless strncpy to avoid compilation warning with GCC 8.
- Update utf8proc to v2.7.0.
- Update distclean rule to preserve tarball contents. (#1167, #1169)
- Add reference types stash and other. (#1160, #1172)
- Auto refresh view upon option change.
- Allow to toggle revision filtering. (#1173)
Bug fixes:
- Fix null dereferences on unset format strings. (#1136, #1159)
- Fix invalid read in log_read. (#1128)
- Restore support for tig log --graph. (#1128)
- Further fix to fullscreen navigation.
- Fix blame when opened from an initial diff view. (#1135)
- Fix stash view when using tig --all or tig revs. (#1146, #1147)
- Avoiding null pointer dereference. (#1096)
- Fix navigation between chunks after splitting chunk. (#1101, #1162)
- Fix status line when toggling general options. (#1163, #1164)
- Honor reference-format = hide:tag in diff view. (#1168, #1170)
- Fix crash on :toggle file-args.
Change summary
The diffstat and log summary for changes made in this release.
.github/workflows/macos.yml | 17 +-
INSTALL.adoc | 21 +-
Makefile | 18 +-
NEWS.adoc | 38 +-
appveyor.yml | 2 +-
compat/hashtab.c | 6 +-
compat/utf8proc.c | 26 +-
compat/utf8proc.h | 6 +-
compat/utf8proc.license.md | 2 +-
compat/utf8proc_data.c | 20860 +++++++++++-----------
configure.ac | 24 +-
contrib/config.make | 4 +
contrib/config.make-Darwin | 12 +-
doc/manual.adoc | 2 +
doc/tig.1.adoc | 3 +-
doc/tigrc.5.adoc | 16 +-
include/tig/argv.h | 9 +-
include/tig/diff.h | 2 +-
include/tig/git.h | 5 +-
include/tig/options.h | 18 +-
include/tig/tig.h | 6 +
include/tig/types.h | 2 +
include/tig/view.h | 15 +-
src/argv.c | 28 +-
src/blame.c | 9 +-
src/diff.c | 79 +-
src/draw.c | 14 +-
src/graph-v1.c | 33 +-
src/graph-v2.c | 42 +-
src/io.c | 4 +-
src/line.c | 2 +-
src/log.c | 18 +-
src/main.c | 24 +-
src/options.c | 10 +
src/pager.c | 3 +
src/prompt.c | 16 +-
src/refdb.c | 8 +-
src/reflog.c | 2 +-
src/refs.c | 2 +-
src/search.c | 10 +-
src/stage.c | 8 +-
src/stash.c | 26 +-
src/status.c | 7 +-
src/tig.c | 16 +
src/util.c | 2 +-
src/view.c | 12 +-
test/blame/initial-diff-test | 28 +
test/blame/stash-test | 49 +
test/help/all-keybindings-test | 2 +-
test/help/all-keybindings-test.expected | 3 +-
test/help/default-test | 4 +-
test/help/user-command-test | 2 +-
test/log/log-graph-test | 44 +
test/main/goto-test | 28 +
test/refs/filter-test | 55 +
test/regressions/github-1136-test | 76 +
test/tools/test-graph.c | 2 +-
tigrc | 33 +-
tools/ax_lib_readline.m4 | 4 +-
tools/ax_require_defined.m4 | 2 +-
tools/ax_with_curses.m4 | 4 +-
tools/gcov.m4 | 2 +-
tools/release.sh | 2 +-
63 files changed, 11367 insertions(+), 10462 deletions(-)
Binho (1):
Avoiding null pointer dereference (#1096)
Johannes Altmanninger (10):
Fix null dereferences on unset state variable
Simplify return expression that is implied by loop invariant.
Expose %(file_old), the filename before a rename or deletion (#1132)
Fix blame when opened from an initial diff view (#1135)
Run macOS CI on pushes and pull requests (#1144)
Makefile: avoid overzealous removal of compile_commands.json (#1157)
Remove quotes from TIG_LS_REMOTE to allow inline shell commands (#1161)
argv_format(): extract boolean parameters into bitfield
Allow to toggle revision filtering (#1173)
Fix null dereferences on unset %(fileargs) (#1159)
Jonas Fonseca (1):
Update links to use HTTPS (#1148)
Michał Kępień (1):
Enable jumping back in main view (#1138)
Thomas Koutcher (25):
Make word-diff a toggleable option (#1125)
Add Linux installation instructions (#1126)
Allow :back to work across separate blame views (#1127)
Fix invalid read in log_read
Restore support for tig log --graph
Add auto-refresh to log view
Further fix to fullscreen navigation
Add PCRE support (#1143)
Fix stash view when using tig --all or tig revs (#1147)
Pass command line args through to diff-files in status view (#1155)
Add more trailers to default tigrc
Print the PCRE version
Avoid pushing identical history state in main view
Replace useless strncpy to avoid compilation warning with GCC 8
Update utf8proc to v2.7.0
Fix navigation between chunks after splitting chunk (#1162)
Fix status line when toggling general options (#1164)
Update distclean rule to preserve tarball contents (#1169)
Honor reference-format = hide:tag in diff view (#1170)
Add reference types stash and other (#1172)
Auto refresh view upon option change
Update NEWS
Don't treat pathspecs as format strings
Fix crash on :toggle file-args
tig-2.5.5
Wolfram Sang (2):
Mention again that 'generic' keymap can be overridden
Document options for 'tig refs'
tig-2.5.4
Improvements:
- Add FreeBSD installation instructions. (#1093)
- Add TIG_EDITOR environment variable to configure editor. (#889, #1098)
- Enable mailmap by default to match git log's behaviour. (#1104, #1105)
- Enable tilde expansion for diff-highlight. (#1107)
Bug fixes:
- Escape variables with %% in external commands. (#1091, #1095)
- Fix parsing of -L argument. (#1100)
- Bugfix: smart-case does not work when search term contains a space. (#1108)
- Use ncursesw by default on Linux. (#920)
- Replace obsolete macro `AC_CONFIG_HEADER' in configure.ac.
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 22 +++++++++++++++-------
Makefile | 2 +-
NEWS.adoc | 18 ++++++++++++++++++
configure.ac | 2 +-
contrib/config.make-Darwin | 2 +-
contrib/config.make-Linux | 8 ++++++++
doc/tig.1.adoc | 5 +++++
doc/tigrc.5.adoc | 3 ++-
src/apps.c | 11 +++++++----
src/argv.c | 8 +++++---
src/display.c | 4 +++-
src/log.c | 4 ++--
src/options.c | 2 +-
src/string.c | 2 +-
test/main/filter-args-test | 2 +-
test/tigrc/escape-var-test | 19 +++++++++++++++++++
tigrc | 2 +-
17 files changed, 91 insertions(+), 25 deletions(-)
Landon Bouma (1):
Bugfix: smart-case does not work when search term contains a space (#1108)
Mateusz Piotrowski (1):
Add FreeBSD installation instructions (#1093)
Thomas Koutcher (10):
Escape variables with %% in external commands (#1095)
Add TIG_EDITOR environment variable to configure editor (#1098)
Fix parsing of -L argument (#1100)
Enable mailmap by default to match git log's behaviour (#1105)
Enable tilde expansion for diff-highlight
Update NEWS
Use ncursesw by default on Linux
Replace obsolete macro `AC_CONFIG_HEADER' in configure.ac
Use TIG_NCURSES instead of TIG_LDLIBS in config.make-Linux
tig-2.5.4
tig-2.5.3
Bug fixes:
- Fix autoconf checking for readline. (#1072)
- Fix segfault when saving a view with no column.
- Reset view->parent when main view is promoted.
- Fix segfault when pressing Enter in a child main view.
- Restore lazy navigation.
- Format time_t values portably and fix other values too. (#1084, #1085)
- Fix loop when wrapping line with ISO-8859-1 character. (#1087, #1088)
Change summary
The diffstat and log summary for changes made in this release.
.gitignore | 2 +-
INSTALL.adoc | 4 +-
Makefile | 6 +--
NEWS.adoc | 13 ++++++
doc/tig.1.adoc | 2 +
src/argv.c | 2 +-
src/blame.c | 2 +-
src/diff.c | 2 +-
src/display.c | 13 ++----
src/draw.c | 2 +-
src/main.c | 5 +-
src/pager.c | 2 +-
src/status.c | 2 +-
src/string.c | 99 ++++++++++------------------------------
src/tig.c | 3 +-
src/ui.c | 2 +-
src/util.c | 10 ++--
src/view.c | 8 ++--
tools/ax_lib_readline.m4 | 6 +--
19 files changed, 76 insertions(+), 109 deletions(-)
Thomas Koutcher (11):
Replace deprecated MD5 checksums with SHA256 in make dist
Fix autoconf checking for readline
Fix segfault when saving a view with no column
Reset view->parent when main view is promoted
Fix segfault when pressing Enter in a child main view
Restore lazy navigation
Format time_t values portably and fix other values too
Fix loop when wrapping line with ISO-8859-1 character
Add example showing how to use TIG_SCRIPT to pass startup commands
Update NEWS
tig-2.5.3
tig-2.5.2
Incompatibilities:
- Change directory from the next argument, from now use
tig -C /path/to/repo
. (#1079)
Improvements:
- Jump from blame to commit. (#355)
- Start blame of an uncommitted deleted line from HEAD so the line's origin can be traced. (#1008, #1009)
- Add line-graphics = auto. (#834, #1019)
- Allow maxwidth to be expressed in % of the view width. (#1021)
- Pass stash args through. (#1022, #1030)
- Make build work on IBM i. (#1051, #1052)
- Restore fullscreen navigation. (#1053)
- Update utf8proc to v2.6.1.
- Add some range so control chars ^^ and ^_ are also supported. (#1041, #1058)
- Disable ncurses extended key values so that esc-codes can be used. (#1046, #1049)
- Use id column for commit id only. (#1025, #1056)
- Some minor updates for scrolling and for a double-click in diff. (#1060)
- Add scroll-half-page-up and scroll-half-page-down actions. (#531, #1075)
- Allow to generate a compilation database. (#1064)
- New command stage-update-part.
- The line number before a diff was applied is exposed as
%(lineno_old)
. (#1081)
Bug fixes:
- Fix wrapping of lines with multibyte characters. (#988)
- Improve highlighting of search with $ regex. (#1000)
- Update tracking branch when refreshing status view. (#1015)
- Fix vertical lines in Putty with UTF-8 graphics. (#981, #983)
- Fix parsing of three-way chunk headers with extra dashes.
- Update tracking branch when refreshing status view. (#1015, #1020)
- Handle filename with space in diff view. (#1035)
- The stash view requires a working tree.
- Replace useless strncpy to avoid compilation warning. (#1036)
- Zsh completion fixes. (#940, #1047)
- Handle undefined __git_complete. (#1011, #1055)
- Fix help messages for half-page and page up. (#1054)
- Let
-S
,-G
and--grep=
pattern override readline history. - Fix bash completion issue with worktrees (#1018).
- Fix parsing of commit line from
git log --left-right
output in pager view. - Fix %(lineno) computation for hunk postimages that span only one line. (#1062)
- Align relative-compact dates to the right. (#1067)
- Fix empty split diff view when navigating quickly in the stash view.
- Avoid depending on wcwidth in test by removing Variation Selector. (#1065)
- Open the blob view with the cursor correctly positioned.
- Update %(text) when navigating diff contents. (#1082)
Change summary
The diffstat and log summary for changes made in this release.
.github/workflows/linux.yml | 32 +
.github/workflows/macos.yml | 38 +
.gitignore | 2 +
.travis.yml | 40 -
INSTALL.adoc | 26 +-
Makefile | 46 +-
NEWS.adoc | 50 +
README.adoc | 3 +-
book.json | 6 -
compat/utf8proc.c | 29 +-
compat/utf8proc.h | 18 +-
compat/utf8proc_data.c | 13319 ++++++++++++----------
configure.ac | 6 +
contrib/tig-completion.bash | 53 +-
contrib/tig-completion.zsh | 15 +-
contrib/vim.tigrc | 1 +
doc/manual.adoc | 10 +-
doc/tig.1.adoc | 4 +-
doc/tigrc.5.adoc | 36 +-
include/tig/argv.h | 2 +
include/tig/diff.h | 2 +-
include/tig/draw.h | 2 -
include/tig/line.h | 1 +
include/tig/request.h | 7 +-
include/tig/status.h | 1 +
include/tig/string.h | 1 -
include/tig/view.h | 1 -
snap/snapcraft.yaml | 15 +-
src/blame.c | 8 +-
src/blob.c | 2 +
src/diff.c | 26 +-
src/display.c | 39 +-
src/draw.c | 28 +-
src/graph-v1.c | 2 +-
src/graph-v2.c | 2 +-
src/help.c | 4 +-
src/io.c | 4 +-
src/log.c | 4 +-
src/main.c | 36 +-
src/options.c | 32 +-
src/pager.c | 16 +-
src/parse.c | 9 +-
src/reflog.c | 3 +-
src/refs.c | 5 +-
src/repo.c | 10 +
src/stage.c | 242 +-
src/stash.c | 16 +-
src/status.c | 2 +-
src/string.c | 26 +-
src/tig.c | 55 +-
src/tree.c | 3 +-
src/view.c | 65 +-
test/blob/wrap-lines-test | 67 +-
test/diff/editor-test | 16 +-
test/diff/line-number-test | 31 +
test/diff/maximized-navigation-test | 38 +-
test/diff/open-after-split-test | 82 +
test/diff/submodule-editor-test | 16 +-
test/diff/worktree-editor-test | 16 +-
test/help/all-keybindings-test | 2 +-
test/help/all-keybindings-test.expected | 10 +-
test/help/default-test | 6 +-
test/help/user-command-test | 2 +-
test/main/all-arg-test | 2 +-
test/main/emoji-test | 12 +-
test/main/vertical-lines-test | 90 +
test/reflog/default-test | 10 +-
test/refs/branch-checkout-test | 4 +-
test/stage/update-part-test | 219 +
test/tigrc/width-test | 23 +
test/tools/libtest.sh | 4 +-
tigrc | 23 +-
tools/aspell.dict | 19 +-
tools/ax_lib_readline.m4 | 2 +-
74 files changed, 8809 insertions(+), 6290 deletions(-)
Akos Denke (1):
Change directory from the next argument (#1079)
Christian Jorgensen (1):
Make build work on IBM i (#1052)
Darcy Parker (1):
Handle undefined __git_complete (#1055)
Dominik Vogt (1):
New command stage-update-part
Felipe Contreras (3):
completion: zsh: fix loading
completion: bash: align with git completion
completion: zsh: improve completion
Igor (1):
fix help messages for half-page and page up (#1054)
Johannes Altmanninger (11):
Fix parsing of three-way chunk headers with extra dashes (#1013)
Blame uncommitted deletions starting from HEAD (#1009)
Avoid overwriting line type in word diff (#1069)
Fix %(lineno) computation for hunk postimages that span only one line (#1062)
Make functions static, or declare them in a header (#1063)
Allow to generate a compilation database (#1064)
Avoid depending on wcwidth in test by removing Variation Selector (#1065)
Guard against undefined bash_cv_termcap_lib
Switch from Travis CI to GitHub Actions
Expose %(lineno_old), the line number before a diff was applied
Update %(text) when navigating diff contents
Jonas Fonseca (4):
Clarify how to generate the configure script
Remove Google Analytics tracking from GitBook config
More improvements to the installation instructions
Use strict confinement for the snap
Mark Kelly (4):
Add some range so control chars ^^ and ^_ are also supported (#1041)
Disable ncurses extended key values (#1049)
Fix for PR 1041 - add check for key_value != KEY_ESC (#1058)
Some minor updates for scrolling and for a double-click in diff (#1060)
Pavel Roskin (1):
Fix vertical lines in Putty with UTF-8 graphics (#983)
Thomas Koutcher (31):
Fix wrapping of lines with multibyte characters
Improve highlighting of search with $ regex
Jump from blame to commit
Merge pull request #1047 from felipec/fc/fixes
Add line-graphics = auto (#1019)
Allow maxwidth to be expressed in % of the view width (#1021)
Update tracking branch when refreshing status view (#1020)
Pass stash args through (#1030)
Handle filename with space in diff view
The stash view requires a working tree
Replace useless strncpy to avoid compilation warning
Update utf8proc to v2.6.0
Restore fullscreen navigation
Add missing %(refname) in manual
Harmonize fullscreen navigation across all views
Update utf8proc to v2.6.1
Fix half-page and page up in tigrc doc as well
Minor updates to tigrc
Let -S, -G and --grep= pattern override readline history
Fix bash completion issue with worktrees
Fix parsing of commit line from git log --left-right output in pager view
Use id column for commit id only (#1056)
Align relative-compact dates to the right
Fix empty split diff view when navigating quickly in the stash view
Improve consistency of fullscreen navigation
Add scroll-half-page-up and scroll-half-page-down actions (#1075)
Add missing diff-stat color in tigrc documentation
Open the blob view with the cursor correctly positioned
Fix CI badges links
Update NEWS
tig-2.5.2
Tim Gates (1):
docs: fix simple typo, fale -> false (#1042)
Wolfram Sang (2):
Document how to use p...
tig-2.5.1
Improvements:
- bash/zsh completion: reimplement and decrease runtime by factor 1863. (#795)
- Add binding to reflog view to toggle reference display.
- Fail if tig is given an invalid or ambiguous ref. (#980)
- Make tig process-group leader an option. (#986, #951)
- Handle GIT_WORK_TREE environment variable.
- The blame view requires a working tree.
- Fix use of deprecated vwprintw() function.
- Update utf8proc to v2.5.0.
- Add --word-diff=plain colorizing support. (#221)
Bug fixes:
- Fix segmentation fault. (#971)
- Fix cursor position after "Move to parent" in blame view. (#973)
- Fix crash on adding a line to a view. (#523)
- Fix memory leak in diff unit.
- Fix loop after refresh or change in refs/main split view. (#991)
- Fix occasional crash on custom key bindings. (#1001)
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 +-
Makefile | 2 +-
NEWS.adoc | 24 +
compat/utf8proc.c | 4 +-
compat/utf8proc.h | 8 +-
compat/utf8proc.license.md | 2 +-
compat/utf8proc_data.c | 11210 +++++++++++-----------
contrib/tig-completion.bash | 324 +-
contrib/tig-completion.zsh | 4 +
doc/tig.1.adoc | 5 +
doc/tigrc.5.adoc | 8 +
include/tig/io.h | 2 +-
include/tig/options.h | 2 +
src/blame.c | 5 +-
src/diff.c | 81 +-
src/display.c | 29 +-
src/graph-v2.c | 3 +-
src/io.c | 8 +-
src/options.c | 21 +-
src/prompt.c | 9 +-
src/refdb.c | 3 +-
src/repo.c | 3 +-
src/tig.c | 29 +-
src/view.c | 2 +-
test/diff/diff-wdiff-context-test | 213 +
test/help/all-keybindings-test.expected | 6 +-
test/help/default-test | 10 +-
test/help/user-command-test | 2 +-
test/status/on-branch-test | 4 +-
test/tools/libtest.sh | 4 +-
tigrc | 2 +
31 files changed, 6162 insertions(+), 5871 deletions(-)
Dmitry Valter (3):
Added word-diff=plain colorizing support
Added test for --word-diff coloring parser
Fix tests not working with bash 5.0+ as /bin/sh
Johannes Altmanninger (1):
Fix potential crash when executing commands in bindings
Roland Hieber (1):
bash/zsh completion: reimplement and decrease runtime by factor 1863
Thomas Koutcher (14):
Fix segmentation fault
Fix cursor position after "Move to parent" in blame view
Add binding to reflog view to toggle reference display
Fail if tig is given an invalid or ambiguous ref
Make tig process-group leader an option
Handle GIT_WORK_TREE environment variable
The blame view requires a working tree
Fix use of deprecated vwprintw() function
Fix loop after refresh or change in refs/main split view
Update NEWS
Also load git-completion.bash from tig-completion.zsh
Update utf8proc to v2.5.0
Fix test not working with Git 2.26
tig-2.5.1
xaizek (2):
Fix crash on adding a line to a view
Fix memory leak in diff unit