Skip to content

tig-2.5.2

Compare
Choose a tag to compare
@koutcher koutcher released this 12 Feb 21:07
· 181 commits to master since this release
tig-2.5.2

Incompatibilities:

  • Change directory from the next argument, from now use tig -C /path/to/repo. (#1079)

Improvements:

  • Jump from blame to commit. (#355)
  • Start blame of an uncommitted deleted line from HEAD so the line's origin can be traced. (#1008, #1009)
  • Add line-graphics = auto. (#834, #1019)
  • Allow maxwidth to be expressed in % of the view width. (#1021)
  • Pass stash args through. (#1022, #1030)
  • Make build work on IBM i. (#1051, #1052)
  • Restore fullscreen navigation. (#1053)
  • Update utf8proc to v2.6.1.
  • Add some range so control chars ^^ and ^_ are also supported. (#1041, #1058)
  • Disable ncurses extended key values so that esc-codes can be used. (#1046, #1049)
  • Use id column for commit id only. (#1025, #1056)
  • Some minor updates for scrolling and for a double-click in diff. (#1060)
  • Add scroll-half-page-up and scroll-half-page-down actions. (#531, #1075)
  • Allow to generate a compilation database. (#1064)
  • New command stage-update-part.
  • The line number before a diff was applied is exposed as %(lineno_old). (#1081)

Bug fixes:

  • Fix wrapping of lines with multibyte characters. (#988)
  • Improve highlighting of search with $ regex. (#1000)
  • Update tracking branch when refreshing status view. (#1015)
  • Fix vertical lines in Putty with UTF-8 graphics. (#981, #983)
  • Fix parsing of three-way chunk headers with extra dashes.
  • Update tracking branch when refreshing status view. (#1015, #1020)
  • Handle filename with space in diff view. (#1035)
  • The stash view requires a working tree.
  • Replace useless strncpy to avoid compilation warning. (#1036)
  • Zsh completion fixes. (#940, #1047)
  • Handle undefined __git_complete. (#1011, #1055)
  • Fix help messages for half-page and page up. (#1054)
  • Let -S, -G and --grep= pattern override readline history.
  • Fix bash completion issue with worktrees (#1018).
  • Fix parsing of commit line from git log --left-right output in pager view.
  • Fix %(lineno) computation for hunk postimages that span only one line. (#1062)
  • Align relative-compact dates to the right. (#1067)
  • Fix empty split diff view when navigating quickly in the stash view.
  • Avoid depending on wcwidth in test by removing Variation Selector. (#1065)
  • Open the blob view with the cursor correctly positioned.
  • Update %(text) when navigating diff contents. (#1082)

Change summary

The diffstat and log summary for changes made in this release.

 .github/workflows/linux.yml             |    32 +
 .github/workflows/macos.yml             |    38 +
 .gitignore                              |     2 +
 .travis.yml                             |    40 -
 INSTALL.adoc                            |    26 +-
 Makefile                                |    46 +-
 NEWS.adoc                               |    50 +
 README.adoc                             |     3 +-
 book.json                               |     6 -
 compat/utf8proc.c                       |    29 +-
 compat/utf8proc.h                       |    18 +-
 compat/utf8proc_data.c                  | 13319 ++++++++++++----------
 configure.ac                            |     6 +
 contrib/tig-completion.bash             |    53 +-
 contrib/tig-completion.zsh              |    15 +-
 contrib/vim.tigrc                       |     1 +
 doc/manual.adoc                         |    10 +-
 doc/tig.1.adoc                          |     4 +-
 doc/tigrc.5.adoc                        |    36 +-
 include/tig/argv.h                      |     2 +
 include/tig/diff.h                      |     2 +-
 include/tig/draw.h                      |     2 -
 include/tig/line.h                      |     1 +
 include/tig/request.h                   |     7 +-
 include/tig/status.h                    |     1 +
 include/tig/string.h                    |     1 -
 include/tig/view.h                      |     1 -
 snap/snapcraft.yaml                     |    15 +-
 src/blame.c                             |     8 +-
 src/blob.c                              |     2 +
 src/diff.c                              |    26 +-
 src/display.c                           |    39 +-
 src/draw.c                              |    28 +-
 src/graph-v1.c                          |     2 +-
 src/graph-v2.c                          |     2 +-
 src/help.c                              |     4 +-
 src/io.c                                |     4 +-
 src/log.c                               |     4 +-
 src/main.c                              |    36 +-
 src/options.c                           |    32 +-
 src/pager.c                             |    16 +-
 src/parse.c                             |     9 +-
 src/reflog.c                            |     3 +-
 src/refs.c                              |     5 +-
 src/repo.c                              |    10 +
 src/stage.c                             |   242 +-
 src/stash.c                             |    16 +-
 src/status.c                            |     2 +-
 src/string.c                            |    26 +-
 src/tig.c                               |    55 +-
 src/tree.c                              |     3 +-
 src/view.c                              |    65 +-
 test/blob/wrap-lines-test               |    67 +-
 test/diff/editor-test                   |    16 +-
 test/diff/line-number-test              |    31 +
 test/diff/maximized-navigation-test     |    38 +-
 test/diff/open-after-split-test         |    82 +
 test/diff/submodule-editor-test         |    16 +-
 test/diff/worktree-editor-test          |    16 +-
 test/help/all-keybindings-test          |     2 +-
 test/help/all-keybindings-test.expected |    10 +-
 test/help/default-test                  |     6 +-
 test/help/user-command-test             |     2 +-
 test/main/all-arg-test                  |     2 +-
 test/main/emoji-test                    |    12 +-
 test/main/vertical-lines-test           |    90 +
 test/reflog/default-test                |    10 +-
 test/refs/branch-checkout-test          |     4 +-
 test/stage/update-part-test             |   219 +
 test/tigrc/width-test                   |    23 +
 test/tools/libtest.sh                   |     4 +-
 tigrc                                   |    23 +-
 tools/aspell.dict                       |    19 +-
 tools/ax_lib_readline.m4                |     2 +-
 74 files changed, 8809 insertions(+), 6290 deletions(-)

Akos Denke (1):
      Change directory from the next argument (#1079)

Christian Jorgensen (1):
      Make build work on IBM i (#1052)

Darcy Parker (1):
      Handle undefined __git_complete (#1055)

Dominik Vogt (1):
      New command stage-update-part

Felipe Contreras (3):
      completion: zsh: fix loading
      completion: bash: align with git completion
      completion: zsh: improve completion

Igor (1):
      fix help messages for half-page and page up (#1054)

Johannes Altmanninger (11):
      Fix parsing of three-way chunk headers with extra dashes (#1013)
      Blame uncommitted deletions starting from HEAD (#1009)
      Avoid overwriting line type in word diff (#1069)
      Fix %(lineno) computation for hunk postimages that span only one line (#1062)
      Make functions static, or declare them in a header (#1063)
      Allow to generate a compilation database (#1064)
      Avoid depending on wcwidth in test by removing Variation Selector (#1065)
      Guard against undefined bash_cv_termcap_lib
      Switch from Travis CI to GitHub Actions
      Expose %(lineno_old), the line number before a diff was applied
      Update %(text) when navigating diff contents

Jonas Fonseca (4):
      Clarify how to generate the configure script
      Remove Google Analytics tracking from GitBook config
      More improvements to the installation instructions
      Use strict confinement for the snap

Mark Kelly (4):
      Add some range so control chars ^^ and ^_ are also supported (#1041)
      Disable ncurses extended key values (#1049)
      Fix for PR 1041 - add check for key_value != KEY_ESC (#1058)
      Some minor updates for scrolling and for a double-click in diff (#1060)

Pavel Roskin (1):
      Fix vertical lines in Putty with UTF-8 graphics (#983)

Thomas Koutcher (31):
      Fix wrapping of lines with multibyte characters
      Improve highlighting of search with $ regex
      Jump from blame to commit
      Merge pull request #1047 from felipec/fc/fixes
      Add line-graphics = auto (#1019)
      Allow maxwidth to be expressed in % of the view width (#1021)
      Update tracking branch when refreshing status view (#1020)
      Pass stash args through (#1030)
      Handle filename with space in diff view
      The stash view requires a working tree
      Replace useless strncpy to avoid compilation warning
      Update utf8proc to v2.6.0
      Restore fullscreen navigation
      Add missing %(refname) in manual
      Harmonize fullscreen navigation across all views
      Update utf8proc to v2.6.1
      Fix half-page and page up in tigrc doc as well
      Minor updates to tigrc
      Let -S, -G and --grep= pattern override readline history
      Fix bash completion issue with worktrees
      Fix parsing of commit line from git log --left-right output in pager view
      Use id column for commit id only (#1056)
      Align relative-compact dates to the right
      Fix empty split diff view when navigating quickly in the stash view
      Improve consistency of fullscreen navigation
      Add scroll-half-page-up and scroll-half-page-down actions (#1075)
      Add missing diff-stat color in tigrc documentation
      Open the blob view with the cursor correctly positioned
      Fix CI badges links
      Update NEWS
      tig-2.5.2

Tim Gates (1):
      docs: fix simple typo, fale -> false (#1042)

Wolfram Sang (2):
      Document how to use pipes and redirection with 'bind'
      Drop unneeded '!' in docs