Releases: jonas/tig
tig-2.5.0
Improvements:
- Single file view enters blame mode on "b". (#804)
- Show untracked files in the default view. (#762)
- Disable graph if log.follow is enabled and there is only one pathspec. (#881)
- Disable graph for author searches.
- git_colors: interpret 'ul' as 'underline'.
- Add refname variable. (#900)
- Add -C option to specify the working directory. (#570)
- Improve behaviour of auto and periodic refresh modes. (#389, #441, #482, #794, #888, #932)
- Add support for repos created with git --work-tree. (#872)
- Add diff-highlight to pager mode.
- Show annotated commits in main view. (#819)
- Introduce reflog view. (#538)
- Add option to start with cursor on HEAD commit. (#755)
- Support combined diffs with more than 2 parents.
- Improve how a toggle option value is shown on the status line. (#879)
- Add options to filter refs output. (#694)
- Update utf8proc to v2.4.0. (#961)
Bug fixes:
- Fix garbled cursor line with older ncurses versions.
- Fix diff highlighting of removed lines starting with -- and added lines
starting with ++. (#871, #875) - Fix loop when displaying search result if regex matches an empty string. (#866)
- Add synchronous command description in tigrc.
- Fix parsing of git rev-parse output. (#884)
- Propagate --first-parent to diff arguments. (#861)
- Use proper type for hash table size. (#858)
- Fix incorrect cppcheck warning about realloc() use.
- Don't shift signed int by 31 bits.
- Fix Vim going background after running Tig outside of a git repository. (#906)
- make-builtin-config: use "read -r". (#912)
- Fix segfaults with readline 8.0. (#893)
- Reset state before closing stage view automatically.
- Don't use a child view as previous view.
- Force reload of VIEW_FLEX_WIDTH views only when needed.
- Combined diff uses @@@ as hunk marker.
- Fix memory leak induced by 'tig grep'.
- Fix memory leak in main view.
- Exit gracefully if refs view was defined without ref column. (#897)
- Fix pager view not moving up when child view is open.
- make-builtin-config: Fix unportable sed usage in read_tigrc().
- Properly detect combined diffs. (#942)
Change summary
The diffstat and log summary for changes made in this release.
.travis.yml | 4 +-
INSTALL.adoc | 9 +-
Makefile | 14 +-
NEWS.adoc | 49 +
compat/utf8proc.c | 57 +-
compat/utf8proc.h | 34 +-
compat/utf8proc.license.md | 4 +-
compat/utf8proc_data.c | 20481 +++++++++++----------
doc/manual.adoc | 19 +-
doc/tig.1.adoc | 9 +-
doc/tigrc.5.adoc | 29 +-
include/tig/argv.h | 1 +
include/tig/diff.h | 1 +
include/tig/git.h | 8 +-
include/tig/line.h | 1 +
include/tig/main.h | 1 +
include/tig/options.h | 4 +
include/tig/parse.h | 9 +
include/tig/reflog.h | 28 +
include/tig/repo.h | 1 +
include/tig/status.h | 6 +-
include/tig/string.h | 3 +
include/tig/tig.h | 1 +
include/tig/view.h | 3 +-
include/tig/watch.h | 11 +-
src/argv.c | 2 +-
src/blame.c | 31 +-
src/diff.c | 53 +-
src/display.c | 16 +-
src/draw.c | 13 +-
src/graph-v2.c | 4 +-
src/grep.c | 10 +-
src/main.c | 54 +-
src/options.c | 12 +-
src/pager.c | 23 +-
src/parse.c | 4 +-
src/prompt.c | 22 +-
src/refdb.c | 1 +
src/reflog.c | 82 +
src/refs.c | 63 +-
src/repo.c | 10 +-
src/stage.c | 11 +-
src/status.c | 41 +-
src/tig.c | 36 +-
src/tree.c | 4 +-
src/ui.c | 2 +-
src/view.c | 33 +-
src/watch.c | 43 +-
test/diff/editor-test | 1 +
test/diff/submodule-editor-diffstat-test | 6 +-
test/diff/submodule-editor-test | 31 +-
test/diff/worktree-editor-test | 25 +-
test/help/all-keybindings-test | 2 +-
test/help/all-keybindings-test.expected | 11 +-
test/help/default-test | 22 +-
test/help/user-command-test | 2 +-
test/main/emoji-test | 2 +-
test/main/filter-args-test | 2 +-
test/main/git-alias-test | 4 +-
test/main/mailmap-test | 1 +
test/main/untracked-test | 67 +
test/reflog/default-test | 53 +
test/tools/libtest.sh | 2 +-
test/tree/submodule-editor-test | 12 +-
test/tree/worktree-editor-test | 8 +-
tigrc | 9 +
tools/aspell.dict | 546 +-
tools/make-builtin-config.sh | 4 +-
tools/release.sh | 12 +-
69 files changed, 11555 insertions(+), 10624 deletions(-)
1 Benedikt Morbach
1 Galdor Takacs
1 Hsieh Chin Fan (Pham)
2 Jeff King
1 Olof-Joachim Frahm
2 Pavel Roskin
1 Peter Mandeljc
1 Rémi Garde
3 Steven Chan
57 Thomas Koutcher
1 Tobias Kortkamp
tig-2.4.1
Bug fixes:
- Add
CURSES_CFLAGS
toCPPFLAGS
. (#856, Linuxbrew/homebrew-core#8440)
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 ++--
Makefile | 2 +-
NEWS.adoc | 9 ++++++++-
config.make.in | 3 ++-
tools/aspell.dict | 5 +++--
5 files changed, 16 insertions(+), 7 deletions(-)
Jonas Fonseca (2):
Fix #856: Add CURSES_CFLAGS to CPPFLAGS (#857)
tig-2.4.1
tig-2.4.0
Improvements:
- Add 'send-child-enter' option to control interaction with child views. (#791)
- Update make config defaults for Cygwin to ncurses6. (#792)
- Build against netbsd-curses. (#789)
- Change the blame view to render more like
git-blame(1)
. (#812) - Improve worktree and submodule support. (#459, #781, #783)
- Support running Tig via a Git alias. (#763)
- Use ISO-8601 letters for short relative dates. (#759, #760)
- Change date formatting to show time zones by default. (#428, #811)
- Use utf8proc to handle Unicode characters. (#827)
Bug fixes:
- Fix
file(1)
argument on Linux used for resolving encodings. (#788) - Fix underflow in the file search. (#800, #801)
- Fix line numbers in grep view when scrolled. (#813)
- Pass command line args through to the stage view. (#569, #823)
- Fix resource leak. (#780)
- Fix various compiler warnings and pointer arithmetic. (#799, #803)
- Workaround potential null pointer dereferences. (#824)
- Bind to single and double quotes by using the and key mappings. (#821)
- Make Tig the process-group leader and clean child processes. (#828, #837)
- Fix sh compatibility in
contrib/tig-pick
. (#832) - Fix incorrect behaviour of up and down keys in diff view when opened from diff preview. (#802, #835)
- Open the stage view when maximizing a split diff view of (un)staged changes. (#836)
- Use fully qualified reference name for tags when conflicting with branch name. (#746, #787, #849)
- Fix resize not working after entering command. (#845) (#846)
- Use stack allocated memory to handle
TIG_LS_REMOTE
. (#839) - Fix deleted file mode line remains highlighted after hovering in diff or stage view. (#851)
- Fix
TIG_LS_REMOTE
not working withgit-ls-remote(1)
. (#853, #854)
Change summary
The diffstat and log summary for changes made in this release.
.travis.yml | 15 +-
INSTALL.adoc | 4 +-
Makefile | 13 +-
NEWS.adoc | 39 +
README.adoc | 3 +-
appveyor.yml | 16 +
compat/hashtab.c | 25 +-
compat/utf8proc.c | 764 +
compat/utf8proc.h | 713 +
compat/utf8proc.license.md | 93 +
compat/utf8proc_data.c | 14483 ++++++++++++++++
compat/wcwidth.c | 709 -
compat/wcwidth.h | 47 -
configure.ac | 4 +-
contrib/config.make-CYGWIN_NT-6.1 | 2 +-
contrib/tig-pick | 8 +-
doc/manual.adoc | 1 +
doc/tigrc.5.adoc | 54 +-
include/tig/apps.h | 38 +
include/tig/argv.h | 1 -
include/tig/display.h | 4 +-
include/tig/draw.h | 2 +-
include/tig/git.h | 4 +-
include/tig/io.h | 7 +-
include/tig/keys.h | 1 +
include/tig/line.h | 1 +
include/tig/options.h | 4 +
include/tig/repo.h | 1 +
include/tig/string.h | 2 +
include/tig/tig.h | 12 +-
snap/snapcraft.yaml | 23 +
src/apps.c | 125 +
src/argv.c | 13 +-
src/diff.c | 30 +-
src/display.c | 39 +-
src/draw.c | 15 +-
src/graph-v1.c | 2 +-
src/graph-v2.c | 26 +-
src/grep.c | 3 +-
src/io.c | 45 +-
src/keys.c | 19 +-
src/line.c | 4 +-
src/options.c | 35 +-
src/prompt.c | 32 +-
src/refdb.c | 26 +-
src/search.c | 12 +-
src/status.c | 4 +-
src/string.c | 44 +-
src/tig.c | 65 +-
src/ui.c | 10 +-
src/util.c | 85 +-
src/view.c | 9 +
test/API.adoc | 49 +
test/README.adoc | 3 +
test/blame/default-test | 157 +-
test/blame/revargs-test | 116 +-
test/blame/start-on-line-test | 58 +-
test/diff/diff-highlight-test | 140 +-
test/diff/diff-stat-split-test | 56 +-
test/diff/editor-test | 92 +
test/diff/maximized-navigation-test | 82 +
test/diff/submodule-editor-diffstat-test | 81 +
test/diff/submodule-editor-test | 391 +
test/diff/worktree-editor-test | 392 +
test/graph/00-simple-test | 6 +-
test/graph/01-merge-from-left-test | 4 +-
test/graph/02-duplicate-parent-test | 8 +-
test/graph/03-octo-merge-test | 4 +-
test/graph/04-missing-bar-test | 6 +-
test/graph/05-extra-pipe-test | 4 +-
test/graph/06-extra-bars-test | 96 +-
test/graph/07-multi-collapse-test | 12 +-
test/graph/08-multi-collapse-2-test | 14 +-
test/graph/09-parallel-siblings-test | 10 +-
test/graph/10-shorter-merge-than-branch-test | 16 +-
test/graph/11-new-branch-in-middle-test | 10 +-
test/graph/12-cross-over-collapse-test | 12 +-
...branches-with-different-middle-branch-test | 16 +-
test/graph/14-long-collapse-line-test | 30 +-
test/graph/15-many-merges-test | 24 +-
test/graph/16-changes-test | 6 +-
test/graph/17-more-merges-test | 34 +-
test/graph/18-tig-test | 12 +-
test/graph/19-tig-all-test | 68 +-
test/graph/20-tig-all-long-test | 3648 ++--
.../graph/regression/horizontal-artifact-test | 10 +-
.../regression/horizontal-bar-wrong-2-test | 16 +-
test/grep/default-test | 6 +-
test/grep/start-on-line-test | 44 +-
test/main/all-arg-test | 56 +-
test/main/author-name-change-test | 6 +-
test/main/boundary-test | 28 +-
test/main/branch-var-test | 32 +-
test/main/commit-order-edge-case-test | 32 +-
test/main/date-test | 135 +-
test/main/default-test | 152 +-
test/main/emoji-test | 63 +-
test/main/escape-control-characters-test | 36 +-
test/main/filter-args-test | 56 +-
test/main/git-alias-test | 56 +
test/main/goto-test | 96 +-
test/main/graph-argument-test | 56 +-
test/main/jump-ends-test | 12 +-
test/main/mailmap-test | 38 +-
test/main/main-options-test | 28 +-
test/main/merge-test | 16 +-
test/main/no-merges-test | 28 +-
test/main/pretty-raw-test | 28 +-
test/main/refresh-periodic-test | 30 +-
test/main/refresh-test | 30 +-
test/main/search-preload-test | 35 +
test/main/search-test | 224 +-
test/main/show-changes-after-rename-test | 4 +-
test/main/show-changes-test | 60 +-
test/main/start-on-line-test | 56 +-
test/main/stdin-test | 10 +-
test/main/update-unstaged-changes-test | 4 +-
test/main/view-split-test | 98 +-
test/refs/branch-checkout-test | 50 +-
test/refs/branch-tag-test | 35 +
test/refs/branch-var-test | 32 +-
test/refs/default-test | 64 +-
test/refs/refresh-test | 96 +-
test/refs/replace-test | 64 +-
test/refs/start-on-line-test | 56 +-
test/refs/worktree-test | 14 +-
test/regressions/github-390-test | 4 +-
test/regressions/github-434-test | 154 +-
test/script/comment-test | 6 +-
test/stage/maximized-unstaged-changes-test | 58 +
test/status/submodule-editor-test | 62 +
test/status/worktree-editor-test | 59 +
test/tigrc/parse-test | 4 +-
test/tigrc/width-test | 200 +-
test/tools/libgit.sh | 12 +-
test/tools/libtest.sh | 108 +-
test/tools/valgrind-Darwin.supp | 2...
tig-2.3.3
Bug fixes:
- Revert "Handle \n like \r (#758)". (GH #769)
- Fix GH #164 by catching SIGHUP.
- Change
refs_tags
type tosize_t
.
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 ++--
Makefile | 2 +-
NEWS.adoc | 9 +++++++++
README.adoc | 2 +-
src/display.c | 40 ----------------------------------------
src/refdb.c | 2 +-
src/tig.c | 12 ++++++++++++
tools/aspell.dict | 2 +-
8 files changed, 27 insertions(+), 46 deletions(-)
Alexander Droste (1):
Revert "Handle \n like \r (#758)" (#769)
Jonas Fonseca (3):
Fix #164 by catching SIGHUP
Change refs_tags type to size_t
tig-2.3.3
harshavardhan (1):
updated https to https (#777)
tig-2.3.2
Release notes
Bug fixes:
- Fix busy loop detection to handle large repos. (GH #164)
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 4 ++--
Makefile | 2 +-
NEWS.adoc | 7 +++++++
src/display.c | 4 +++-
tools/aspell.dict | 2 +-
5 files changed, 14 insertions(+), 5 deletions(-)
Jonas Fonseca (2):
Only check for busy loop when no views are updating
tig-2.3.2
tig-2.3.1
Release notes
Improvements:
Bug fixes:
- Add workaround that detects busy loops when Tig loses the TTY. This may
happen if Tig does not receive the HUP signal (e.g. when started with
nohup
). (GH #164) - Fix compatibility with ncurses-5.4 which caused copy-pasting to not work
in the prompt. (GH #767) - tig(1): document correct environment variable. (GH #752)
Change summary
The diffstat and log summary for changes made in this release.
.travis.yml | 50 ++++++-------
INSTALL.adoc | 13 +++-
Makefile | 2 +-
NEWS.adoc | 17 +++++
doc/tig.1.adoc | 2 +-
include/tig/tig.h | 1 +
src/display.c | 127 ++++++++++++++++++++++++++------
test/README.adoc | 17 +++++
test/main/refresh-periodic-test | 2 +
test/tools/libtest.sh | 76 +++++++++++++++++--
tools/aspell.dict | 12 ++-
tools/travis.sh | 32 ++++++++
12 files changed, 293 insertions(+), 58 deletions(-)
Christian Brabandt (1):
Handle \n like \r (#758)
David O'Trakoun (1):
tig(1): Fix env var checked (#752)
Jonas Fonseca (6):
Fix formatting of the Windows install documentation
Move loop updating views to separate method
Fix #164: Add workaround to detect busy event loops
Use initscr to ensure proper TTY setup for the prompt (#768)
Update NEWS
tig-2.3.1
Matt (1):
Added another installation method (#753)
Roland Walker (8):
save and restore TTY attributes
restore tty attrs+flush before/after external cmd
give feedback as test cases are run
add ability to filter tests via TEST_OPTS
consistency in use of IFS (#729)
convert test timeout watchers to polls (#735)
raise timeout in test which sleeps (#733)
preserve/restore TTY attributes in test suite (#727)
Stephen (1):
Parallelize the Travis CI build and add macOS to the matrix (#750)
tig-2.3.0
Release notes
Incompatibilities:
- The
width
setting on thestatus
,text
andcommit-title
columns was
never applied and has been removed. (GH #617)
Improvements:
- Improve load performance by throttling screen updates. (GH #622, #629)
- Speed up graph rendering. (GH #638)
- Enable scroll optimizations for Terminal.app and iTerm2. (GH #637)
- Improve the test suite portability to not depend on GNU sed. (GH #609, #614)
- Make build reproducible. (https://reproducible-builds.org/) (GH #613)
- Enable binding to more symbolic keys and keys with control modifier:
F13
-F19
,ShiftLeft
,ShiftRight
,ShiftDel
,ShiftHome
,ShiftEnd
,
ShiftTab
,Ctrl-C
,Ctrl-V
,Ctrl-S
, andCtrl-@
. (GH #314, #619, #642) - Persist readline history to
~/.tig_history
or$XDG_DATA_HOME/tig/history
.
Usehistory-size
to control the number of entries to save. (GH #620, #713,
#714, #718) - Preload last search from persistent history. (GH #630)
- Add
view-close-no-quit
action, unbound by default. (GH #607) - Add
mouse-wheel-cursor
option (off by default) when set to true causes
wheel actions to prefer moving the cursor instead of scrolling. (GH #608) - Add
truncation-delimiter
option, set to~
by default. (GH #646) - Add
-q
parameter tosource
for "source-if-present". (GH #612) - Add
:echo
prompt command to display text in the status bar. (GH #626, #636) - Make
diff-highlight
colors configurable. (GH #625, #633) - Let Ctrl-C exit Y/N dialog, menu prompts and the file finder. (GH #632, #648)
- Hide cursor unless at textual prompt. (GH #643)
- Expand tilde ('~') in
:script
paths. (GH #674) - Show single-line output of external command in status bar. (GH #200, #557,
#678) - Disable the graph when
--no-merges
is passed. (GH #687) - Print backtraces on segfault in debug mode.
- Ignore script lines starting with
#
(comment). (GH #705) - Complete
repo:*
variables when readline is enabled. (GH #702) - Incorporate XTerm's
wcwidth.c
to find Unicode widths. (GH #691)
Bug fixes:
- Fix graph display issues. (GH #419, #638)
- Fix and improve rendering of Unicode characters. (GH #330, #621, #644, #682)
- Handle hyphenated directory names when listing content. (GH #602)
- Do not jump to next match when cancelling the search prompt. (GH #627)
- Fix clearing of the status line after
Ctrl-C
. (GH #623, #649) - Fix handling of width on line-number and trimmed width of 1. (GH #617)
- Set cursor position when not updating prompt contents. (GH #647)
- Erase status line at exit time for users without altscreen-capable terminals.
(GH #589) - Fix unexpected keys when restoring from suspend (
Ctrl-Z
). (GH #232) - contrib/vim.tigrc: Also bind G in the main as a workaround for limitations of
thenone
action. (GH #594, #599) - Only override
blame-options
when commands are given and fix parsing of
-C
. (GH #597) - Fix diff name discovery to better handle prefixes.
- Interpret button5 as wheel-down. (GH #321, #606)
- Fix
back
/parent
in tree view. (GH #641) - Fix memory corruption in
concat_argv
and file finder. (GH #634, #655) - Fix reading from stdin for
tig show
. - Document problem of outdated system-wide
tigrc
files in Homebrew. (GH #598) - Repaint the display when toggling
line-graphics
. (GH #527) - Fix custom date formatting support longer strings. (GH #522)
- Don't segfault on ":exec" irregular args. (GH #686)
- Fix segfault when calling htab_empty. (GH #663, #745)
Change summary
The diffstat and log summary for changes made in this release.
.bookignore | 16 +
.gitignore | 1 +
.travis.yml | 1 +
INSTALL.adoc | 26 +-
Makefile | 42 +-
NEWS.adoc | 69 +-
README.adoc | 2 +-
book.md | 2 +
compat/compat.h | 15 +
compat/hashtab.h | 4 +-
compat/wcwidth.c | 709 ++++++++++++++++++
compat/wcwidth.h | 47 ++
compat/wordexp.c | 60 ++
config.make.in | 1 +
configure.ac | 3 +-
contrib/config.make | 3 +
contrib/config.make-CYGWIN_NT-6.1 | 2 +-
contrib/config.make-Darwin | 1 +
contrib/tig-completion.bash | 6 +-
contrib/vim.tigrc | 4 +-
doc/manual.adoc | 37 +-
doc/tig.1.adoc | 24 +-
doc/tigrc.5.adoc | 120 ++-
include/tig/display.h | 8 +-
include/tig/io.h | 8 +-
include/tig/keys.h | 9 +
include/tig/line.h | 36 +-
include/tig/options.h | 8 +-
include/tig/prompt.h | 1 +
include/tig/request.h | 5 +-
include/tig/tig.h | 6 +
include/tig/util.h | 2 +
src/argv.c | 12 +-
src/blame.c | 28 +-
src/blob.c | 2 +-
src/diff.c | 27 +-
src/display.c | 195 ++++-
src/draw.c | 17 +-
src/graph-v2.c | 193 ++++-
src/grep.c | 4 +-
src/io.c | 50 +-
src/keys.c | 24 +-
src/line.c | 15 +-
src/main.c | 2 +-
src/options.c | 46 +-
src/prompt.c | 188 ++++-
src/refdb.c | 3 +
src/search.c | 4 +-
src/status.c | 4 +-
src/string.c | 45 +-
src/tig.c | 71 +-
src/tree.c | 4 +-
src/ui.c | 10 +-
src/util.c | 2 +-
src/view.c | 39 +-
test/README.adoc | 10 +
test/diff/diff-context-test | 4 +-
test/diff/diff-highlight-color-test | 2 +-
test/diff/diff-stat-split-test | 51 ++
test/diff/diff-stat-test | 106 ++-
test/diff/diff-stdin-test | 84 +++
test/graph/00-simple-test | 10 -
test/graph/06-extra-bars-test | 14 +-
test/graph/10-shorter-merge-than-branch-test | 2 +-
test/graph/11-new-branch-in-middle-test | 6 +-
test/graph/15-many-merges-test | 31 +-
test/graph/17-more-merges-test | 4 +-
test/graph/18-tig-test | 12 -
test/graph/20-tig-all-long-test | 4 +-
test/graph/gh-490-heap-buffer-overflow-test | 4 +-
.../graph/regression/horizontal-artifact-test | 41 +
.../regression/horizontal-bar-wrong-2-test | 41 +
test/help/all-keybindings-test | 1 +
test/help/all-keybindings-test.expected | 238 +++---
test/help/default-test | 10 +-
test/help/user-command-test | 10 +-
test/main/all-arg-test | 2 +-
test/main/branch-var-test | 6 +-
test/main/commit-title-overflow-test | 4 +-
test/main/date-test | 34 +
test/main/emoji-test | 74 ++
test/main/filter-args-test | 10 +-
test/main/graph-argument-test | 4 +-
test/main/jump-ends-test | 54 ++
test/main/no-matching-commmits-test | 2 +-
test/main/no-merges-test | 33 +
test/main/refresh-periodic-test | 2 +-
test/main/refresh-test | 2 +-
test/main/show-changes-after-rename-test | 4 +-
test/main/view-split-test | 6 +-
test/prompt/exec-test | 42 ++
test/refs/branch-var-test | 7 +-
test/refs/replace-test | 12 +-
test/refs/start-on-line-test | 2 +-
test/regressions/github-390-test | 2 +-
test/script/comment-test | 23 +
test/script/default-test | 21 +-
test/stage/gh-410-test | 4 +-
test/stage/split-chunk-test | 2 +-
test/stash/start-on-line-test | 2 +-
test/status/file-name-test | 6 +-
test/status/on-branch-test | 18 +-
test/status/on-branch-tracking-info-test | 20 +-
test/status/refresh-test | 2 +-
test/status/repo-var-test | 17 +-
test/tigrc/builtin-save-test | 16 +
test/tigrc/command-value-long-test | 58 ++
test/tigrc/contrib-tigrc-test | 4 +-
test/tigrc/parse-test | 15 +-
test/tigrc/save-option-test | 9 +-
test/tigr...
tig-2.2.2
Upgrade instructions:
- The
status-untracked-dirs
option was renamed to
status-show-untracked-dirs
to match the newstatus-show-untracked-files
option.
Improvements:
- Use
diff-options
when preparing the diff in the stage view to make the diff
state configurable. (GH #545) - Add 'status-show-untracked-files' option mirroring Git's
'status.showUntrackedFiles' to toggle display of untracked files. in the
status view. On by default. (GH #562) - Update
ax_with_curses.m4
and usepkg-config
to detect. (GH #546) - Add
tig-pick
script for using Tig as a commit picker. (GH #575, #580) - Add "smart case" option ('set ignore-case = smart-case') to ignore case when
the search string is lower-case only. (GH #320, #579)
Bug fixes:
- Fix author ident cache being keyed by email only. (GH #424, #526, #547)
- Fix periodic refresh mode to properly detect ref changes. (GH #430, #591)
- Add workaround for detecting failure to start the diff-highlight process.
- Show diffs in the stash view when
set mailmap = true
. (GH #556) - Fix parsing of git-log revision arguments, such as
--exclude=...
in
conjunction with--all
. (GH #555) - Fix diff stat parsing for binary copies.
- Fix crash when resizing terminal while search is in progress. (GH #515, #550)
- Fix argument filtering to pass more arguments through to Git.
- Check for termcap support in split tinfo libs. (GH #568, #585)
Change summary
The diffstat and log summary for changes made in this release.
INSTALL.adoc | 10 +-
Makefile | 2 +-
NEWS.adoc | 44 ++++++++-
README.adoc | 2 +-
book.md | 2 +-
config.make.in | 2 +-
configure.ac | 2 +-
contrib/tig-pick | 48 +++++++++
doc/manual.adoc | 5 +-
doc/screenshots.md | 11 ---
doc/tig.1.adoc | 2 +-
doc/tigrc.5.adoc | 15 ++-
include/tig/argv.h | 1 +
include/tig/diff.h | 4 +-
include/tig/git.h | 4 +-
include/tig/options.h | 5 +-
include/tig/types.h | 12 ++-
include/tig/util.h | 1 +
include/tig/view.h | 4 +-
src/argv.c | 4 +-
src/blame.c | 29 +++---
src/blob.c | 16 ++-
src/diff.c | 56 ++++++-----
src/display.c | 8 +-
src/draw.c | 2 +-
src/grep.c | 4 +-
src/help.c | 9 +-
src/io.c | 8 +-
src/log.c | 2 +-
src/main.c | 16 +--
src/options.c | 72 +++++++++-----
src/pager.c | 10 +-
src/parse.c | 14 ++-
src/refs.c | 21 ++--
src/search.c | 16 ++-
src/stage.c | 44 ++++-----
src/stash.c | 6 +-
src/status.c | 40 +++++---
src/tig.c | 30 +++---
src/tree.c | 10 +-
src/util.c | 6 +-
src/view.c | 25 ++---
src/watch.c | 2 +-
test/diff/diff-highlight-test | 38 ++++++-
test/files/repo-authornamechange.tgz | Bin 0 -> 7557 bytes
test/main/author-name-change-test | 27 +++++
test/main/filter-args-test | 74 ++++++++++++++
test/main/refresh-periodic-test | 74 ++++++++++++++
test/main/search-test | 22 +++++
test/status/untracked-files-test | 27 +++++
test/tigrc/compat-error-test | 5 +-
tigrc | 6 +-
tools/aspell.dict | 9 +-
tools/ax_lib_readline.m4 | 16 ++-
tools/ax_require_defined.m4 | 37 +++++++
tools/ax_with_curses.m4 | 142 +++++++++++++++++++--------
56 files changed, 822 insertions(+), 281 deletions(-)
22 Jonas Fonseca
3 Mina Naguib
1 Justin Lecher
1 Konrad Gräfe
1 Lukas Holecek
1 Thomas Koutcher
1 Benjamin Reitzammer
1 Tim Harder
1 Delyan Angelov
tig-2.2.1
Tarballs should now be downloaded from GitHub. Either go to
https://github.com/jonas/tig/releases or use the following pattern:
https://github.com/jonas/tig/releases/download/tig-VERSION/tig-VERSION.tar.gz
MD5 checksums can be found at:
https://github.com/jonas/tig/releases/download/tig-VERSION/tig-VERSION.tar.gz.md5
Similarly, the home page is now also on GitHub at https://jonas.github.io/tig/.
A big thanks to Simon L. B. Nielsen for generously hosting Tig on nitro.dk!
Improvements:
- Support Git's 'diff-highlight' program when
diff-highlight
is set to either
true or the path of the script to use for post-processing. - Add navigation between merge commits. (GH #525)
- Add 'A' as a binding to apply a stash without dropping it.
- Bind 'Ctrl-D' and 'Ctrl-U' to half-page movements by default.
- manual: Mention how to change default Up/Down behavior in diff view.
Bug fixes
- Reorganize checking of libraries for termcap functions.
- Fix
:goto <id>
error message.
Change summary
The diffstat and log summary for changes made in this release.
.gitignore | 2 +
INSTALL.adoc | 10 +-
Makefile | 11 +-
NEWS.adoc | 30 +++
README.adoc | 19 +-
book.json | 22 ++
book.md | 8 +
contrib/tig.spec.in | 4 +-
doc/manual.adoc | 6 +-
doc/screenshots.md | 11 +
doc/tig.1.adoc | 2 +-
doc/tigrc.5.adoc | 8 +
include/tig/argv.h | 4 +-
include/tig/diff.h | 4 +
include/tig/graph.h | 1 +
include/tig/io.h | 3 +-
include/tig/line.h | 11 +-
include/tig/options.h | 1 +
include/tig/request.h | 2 +
include/tig/search.h | 1 +
include/tig/string.h | 3 +-
src/argv.c | 31 ++-
src/diff.c | 121 +++++++--
src/display.c | 6 +-
src/graph-v1.c | 7 +
src/graph-v2.c | 7 +
src/io.c | 25 +-
src/line.c | 6 +
src/main.c | 6 +
src/options.c | 12 +
src/parse.c | 4 +-
src/search.c | 62 +++++
src/stage.c | 15 +-
src/string.c | 17 +-
src/tig.c | 5 +
src/view.c | 2 +-
test/blame/default-test | 190 ++++++-------
test/blame/revargs-test | 86 +++---
test/blame/start-on-line-test | 56 ++--
test/blob/wrap-lines-test | 40 +--
test/diff/diff-context-test | 270 +++++++++----------
test/diff/diff-highlight-color-test | 60 +++++
test/diff/diff-highlight-test | 91 +++++++
test/diff/diff-stat-test | 56 ++--
test/diff/editor-test | 232 ++++++++--------
test/diff/start-on-line-test | 54 ++--
test/diff/wrap-lines-test | 44 +--
test/graph/00-simple-test | 8 +-
test/graph/15-many-merges-test | 26 +-
test/graph/18-tig-test | 8 +-
test/graph/19-tig-all-test | 4 +-
test/grep/default-test | 242 ++++++++---------
test/grep/editor-test | 30 +--
test/grep/start-on-line-test | 52 ++--
test/help/all-keybindings-test | 120 +--------
test/help/all-keybindings-test.expected | 119 +++++++++
test/help/default-test | 174 ++++++------
test/help/user-command-test | 58 ++--
test/log/diff-stat-test | 112 ++++----
test/log/pretty-format-test | 144 +++++-----
test/log/start-on-line-test | 56 ++--
test/log/submodule-test | 180 ++++++-------
test/main/all-arg-test | 52 ++--
test/main/boundary-test | 28 +-
test/main/branch-var-test | 28 +-
test/main/commit-order-edge-case-test | 32 +--
test/main/commit-title-overflow-test | 98 +++----
test/main/date-test | 192 +++++++-------
test/main/default-test | 164 ++++++------
test/main/escape-control-characters-test | 36 +--
test/main/goto-test | 96 +++----
test/main/graph-argument-test | 48 ++--
test/main/mailmap-test | 52 ++--
test/main/main-options-test | 28 +-
test/main/merge-test | 16 +-
test/main/pretty-raw-test | 28 +-
test/main/refresh-test | 42 +--
test/main/search-test | 196 +++++++-------
test/main/show-changes-after-rename-test | 4 +-
test/main/show-changes-test | 246 ++++++++---------
test/main/start-on-line-test | 34 +--
test/main/stdin-test | 28 +-
test/main/submodule-test | 176 ++++++------
test/main/update-unstaged-changes-test | 12 +-
test/main/view-split-test | 112 ++++----
test/refs/branch-checkout-test | 42 +--
test/refs/branch-var-test | 36 +--
test/refs/default-test | 64 ++---
test/refs/refresh-test | 96 +++----
test/refs/replace-test | 62 ++---
test/refs/start-on-line-test | 34 +--
test/refs/worktree-test | 14 +-
test/regressions/github-390-test | 4 +-
test/regressions/github-434-test | 166 ++++++------
test/stage/default-test | 324 +++++++++++------------
test/stage/gh-410-test | 60 ++---
test/stage/split-chunk-test | 132 ++++-----
test/stash/start-on-line-test | 56 ++--
test/status/file-name-test | 104 ++++----
test/status/file-var-test | 56 ++--
test/status/on-branch-test | 126 ++++-----
test/status/on-branch-tracking-info-test | 66 ++---
test/status/refresh-test | 286 ++++++++++----------
test/status/start-on-line-test | 56 ++--
test/status/untracked-files-test | 80 +++---
test/status/worktree-test | 12 +-
test/tigrc/env-vars-test | 10 +-
test/tigrc/parse-test | 56 ++--
test/tigrc/quote-test | 8 +-
test/tigrc/view-column-test | 28 +-
test/tigrc/xdg-config-home-test | 5 +-
test/tools/libtest.sh | 38 ++-
test/tree/default-test | 194 +++++++-------
tigrc | 9 +-
tools/aspell.dict | 6 +-
tools/ax_lib_readline.m4 | 16 +-
tools/release.sh | 1 +
tools/update-release-docs.sh | 53 ----
118 files changed, 3765 insertions(+), 3284 deletions(-)
22 Jonas Fonseca
1 Frank Fesevur
1 Jelte Fennema
1 Jeremy Lin
1 Parker Coates
1 Philipp Gesang
1 Ramsay Jones
1 David Lin
1 lightside
tig-2.2
This is the 35th release of Tig. It brings several search
improvements such as highlighting and wrap around, and machinery for future
support of typeahead search. This release also gives more choice over how the
user configuration file is loaded either at built-time or at runtime through
support of the XDG basedir spec. Among fixes several segfaults and invalid
reads have been addressed and the tests are now run with Valgrind and
AddressSanitizer by Travis on each push. There are several breaking changes so
ensure you read the section on incompatibilities in the release notes before
upgrading.
It's crazy to think that Tig has happily browsed Git repos for more than 10
years! Thanks to everybody who contributed and made that possible. Looking
forward to the next 10 years ...
Release notes
Incompatibilities:
- Note that all user-defined commands are now executed at the repository root
instead of whatever subdirectory Tig was started in. (GH #412) - Remove
cmdline-args
option to avoid problems where setting it in~/.tigrc
potentially breaks other views due to its "context-sensitive" nature, where
agit-log
option maybe causegit-grep
to fail. (GH #431)
Improvements:
-
Use .mailmap to show canonical name and email addresses, off by default.
Addset mailmap = yes
to~/.tigrc
to enable. (GH #411) -
Highlight search results, configurable via
search-result
color. (GH #493) -
Wrap around when searching, configurable via
wrap-search
setting. -
Populate
%(file)
with file names from diff stat. (GH #404) -
tig --merge
implies--boundary
similar to gitk. -
Expose repository variables to external commands, e.g.
%(repo:head)
gives the
branch name of the current HEAD and%(repo:cdup)
for the repo root path. -
Add
make uninstall
. (GH #417) -
Add ZSH completion file (based on Bash completion) (GH #433)
-
Expose the text of the currently selected line as the %(text) (GH #457)
-
Allow users to specify rev arguments to blame (GH #439)
-
Update OSX make config to find brew installed ncurses
-
Add sample git-flow keybinding (GH #421)
-
Add chocolate theme (GH #432)
-
Show stash diffs. (GH #328)
-
Make user tigrc location configurable. (GH #479)
-
Compact relative date display mode. (GH #331)
-
Add date column option controlling whether to show local date.
-
Move to parent commit in the main view. (GH #388)
-
Add
:goto <rev>
prompt command to go to agit-rev-parse
d revision, e.g.
:goto some/branch
or:goto %(commit)^2
. -
Respect the XDG standard for configuration files. (GH #513)
-
Show tracking information in
tig status
(GH #504) -
Resolve diff paths when
diff.noprefix
is true. (GH #487, #488) -
Support for custom
strftime(3)
date formats, e.g.:set main-view-date = custom
set main-view-date-format = "%Y-%m-%d"
Bug fixes:
- Prevent staged rename from displaying unstaged changes (GH #472, #491)
- Fix corrupt chunk header during staging of single lines. (GH #410)
- Fix out of bounds read in graph-v2 module. (GH #402)
- Add currently checked out branch to
%(branch)
. (GH #416) - Size diff stats correctly for split views.
- Fix
git-worktree
support by usinggit-show-ref
. (GH #437) - Add currently checked out branch to
%(branch)
(GH #416) - Fix segfault when hitting return in empty file search (GH #464)
- Remove separator on horizontal split when switching from vertical split
- Do not expand
--all
when parsing%(revargs)
(GH #442, #462) - Fix exit when the main view is reloaded due to option toggling. (GH #470)
- Expand all whitespace and control characters to spaces. (GH #485)
- Restore ability to unbind a default keybinding with
none
. (GH #483) - Fix blob view to honor the
wrap-lines
setting.
Change summary
The diffstat and log summary for changes made in this release.
.mailmap | 3 +
.travis.yml | 36 +-
INSTALL.adoc | 15 +
Makefile | 29 +-
NEWS.adoc | 65 ++-
autogen.sh | 4 +-
contrib/chocolate.theme.tigrc | 16 +
contrib/config.make-Darwin | 15 +-
contrib/git-flow.tigrc | 49 +++
contrib/tig-completion.zsh | 21 +
contrib/tig.spec.in | 2 +-
contrib/vim.tigrc | 3 +
doc/manual.adoc | 29 +-
doc/tig.1.adoc | 9 +-
doc/tigrc.5.adoc | 40 +-
include/tig/argv.h | 3 +-
include/tig/display.h | 6 +
include/tig/git.h | 4 -
include/tig/io.h | 14 +-
include/tig/keys.h | 2 +-
include/tig/line.h | 4 +-
include/tig/main.h | 2 +-
include/tig/options.h | 20 +-
include/tig/pager.h | 2 +-
include/tig/prompt.h | 3 +-
include/tig/refdb.h | 6 +-
include/tig/repo.h | 27 +-
include/tig/search.h | 25 ++
include/tig/string.h | 7 +-
include/tig/tig.h | 7 +
include/tig/types.h | 4 +-
include/tig/util.h | 29 +-
include/tig/view.h | 60 ++-
src/argv.c | 102 +++--
src/blame.c | 80 ++--
src/blob.c | 12 +-
src/diff.c | 208 ++++++++--
src/display.c | 171 ++++----
src/draw.c | 243 ++++++-----
src/graph-v1.c | 28 +-
src/graph-v2.c | 42 +-
src/grep.c | 26 +-
src/help.c | 49 +--
src/io.c | 76 ++--
src/keys.c | 108 +++--
src/line.c | 4 +-
src/log.c | 28 +-
src/main.c | 107 ++---
src/options.c | 185 ++++++---
src/pager.c | 34 +-
src/parse.c | 39 +-
src/prompt.c | 77 ++--
src/refdb.c | 67 +--
src/refs.c | 38 +-
src/repo.c | 27 +-
src/request.c | 6 +-
src/search.c | 189 +++++++++
src/stage.c | 126 +++---
src/stash.c | 43 +-
src/status.c | 153 +++++--
src/string.c | 32 +-
src/tig.c | 96 +++--
src/tree.c | 40 +-
src/types.c | 6 +-
src/ui.c | 22 +-
src/util.c | 156 +++++--
src/view.c | 392 +++++++++---------
src/watch.c | 10 +-
test/README.adoc | 6 +-
test/blame/revargs-test | 82 ++++
test/blob/wrap-lines-test | 54 +++
test/diff/diff-stat-test | 51 +++
test/diff/editor-test | 199 ++++++++-
test/diff/wrap-lines-test | 51 +++
test/files/refs-repo.tgz | Bin 0 -> 8013 bytes
test/files/repo-one.tgz | Bin 0 -> 6722 bytes
test/files/repo-two.tgz | Bin 0 -> 10985 bytes
test/graph/gh-490-heap-buffer-overflow-test | 18 +
.../graph/gh-490-heap-buffer-overflow-test.gz | Bin 0 -> 336885 bytes
test/help/user-command-test | 59 +++
test/log/diff-stat-test | 86 ++++
test/log/pretty-format-test | 3 +-
test/log/submodule-test | 18 +-
test/main/all-arg-test | 63 +++
test/main/boundary-test | 2 -
test/main/branch-var-test | 54 +++
test/main/date-test | 207 +++++++++
test/main/date-test.in | 201 +++++++++
test/main/escape-control-characters-test | 33 ++
test/main/escape-control-characters-test.in | Bin 0 -> 1725 bytes
test/main/goto-test | 103 +++++
test/main/mailmap-test | 65 +++
test/main/merge-test | 33 ++
test/main/refresh-test | 2 -
test/main/show-changes-after-rename-test | 32 ++
test/main/show-changes-test | 26 +-
test/main/submodule-test | 28 +-
test/main/unbind-default-quit-key-test | 31 ++
test/main/update-unstaged-changes-test | 2 -
test/main/util.sh | 17 +-
test/refs/branch-var-test | 59 +++
test/refs/default-test | 53 +--
test/refs/refresh-test | 56 +--
test/refs/replace-test | 1 -
test/refs/util.sh | 13 -
test/refs/worktree-test | 33 ++
test/regressions/github-434-test | 123 ++++++
test/stage/de...