Skip to content

tig-2.2.2

Compare
Choose a tag to compare
@jonas jonas released this 06 May 14:41
· 643 commits to master since this release
tig-2.2.2

Upgrade instructions:

  • The status-untracked-dirs option was renamed to
    status-show-untracked-dirs to match the new status-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 use pkg-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