Skip to content

tig-2.4.0

Compare
Choose a tag to compare
@jonas jonas released this 21 Jul 19:13
· 346 commits to master since this release
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 with git-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 +-
 test/tree/chdir-test                          |   208 +-
 test/tree/default-test                        |   166 +-
 test/tree/file-name-test                      |    54 +-
 test/tree/submodule-editor-test               |   112 +
 test/tree/worktree-editor-test                |   109 +
 tigrc                                         |    26 +-
 tools/aspell.dict                             |    10 +-
 tools/ax_lib_readline.m4                      |    28 +-
 tools/travis.sh                               |    51 +-
 146 files changed, 22283 insertions(+), 4535 deletions(-)

     3	Björn Andersson
     1	Brtwrst
     1	Diego Pomares
    34	Jonas Fonseca
     1	Leo Arias
     2	Maksim Odnoletkov
     1	Max Odnoletkov
     1	PaulChanHK
     5	Pavel Roskin
     9	Roland Walker
     1	Ronan Jouchet
     7	Thomas Koutcher
     3	hwangcc23
     1	plgruener
     2	rofl0r