Skip to content

tig-2.5.1

Compare
Choose a tag to compare
@koutcher koutcher released this 09 Apr 19:31
· 229 commits to master since this release
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