Skip to content

tig-2.2.1

Compare
Choose a tag to compare
@jonas jonas released this 17 Nov 03:36
· 689 commits to master since this release
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