Skip to content

tig-2.5.0

Compare
Choose a tag to compare
@koutcher koutcher released this 19 Nov 18:11
· 266 commits to master since this release
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