Skip to content

tig-2.5.9

Latest
Compare
Choose a tag to compare
@koutcher koutcher released this 30 Mar 14:58
· 4 commits to master since this release
tig-2.5.9

Improvements:

  • Update utf8proc to v2.9.0, supporting Unicode 15.1.
  • Also use lightweight tags in the Refs line of the diff view. (#1235)
  • Support %(text) in all views with a text column. (#1275)
  • Use HTTPS for GitHub clone URLs. (#1310)
  • Move default log view options to tigrc.
  • Allow to go to stage view without Enter. (#1284)
  • Add new "prefetch" reference type for refs created by git maintenance
    (hidden in default config). (#1318)
  • Show the selected commit in the blame view title window.
  • Improve the blob view experience.
  • Clear keybinding from all keymaps (unbind) with bind generic <key> none.

Bug fixes:

  • Fix "dangling pointer" warning. (#1268)
  • Don't use array size in function arguments. (#1269)
  • Fix rpmbuild -ta. (#1276)
  • Initialise struct timezone. (#1291)
  • Fix NULL dereference at startup. (#1293)
  • Enforce a blank before view scroll percentage.
  • Fix refresh-mode periodic not updating branch labels. (#1270)
  • Fix display non-ascii character. (#1299)
  • Fix readline echo when stdin is redirected. (#1229)
  • Fix tig blame --reverse. (#1300)
  • Fix status view lockup.
  • Fix untracked changes and chunk staging behaviour in plain stage view.
  • Reset state variables when selecting a commit with no reference.
  • Fix parsing of git ls-tree for submodules. (#1282)

Change summary

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

 .github/workflows/linux.yml        |     2 +-
 .github/workflows/macos.yml        |    15 +-
 INSTALL.adoc                       |     6 +-
 Makefile                           |     2 +-
 NEWS.adoc                          |    34 +
 README.adoc                        |     2 +-
 compat/compat.h                    |     2 +-
 compat/utf8proc.c                  |    61 +-
 compat/utf8proc.h                  |    18 +-
 compat/utf8proc_data.c             | 21771 ++++++++++++++-------------
 compat/wordexp.c                   |     2 +-
 contrib/git-flow.tigrc             |     1 -
 contrib/large-repo.tigrc           |     3 +
 contrib/tig-completion.bash        |     2 +-
 contrib/tig.spec.in                |     2 +-
 contrib/vim.tigrc                  |     3 +-
 doc/manual.adoc                    |    14 +-
 doc/tig.1.adoc                     |     2 +-
 doc/tigrc.5.adoc                   |    22 +-
 include/tig/apps.h                 |     2 +-
 include/tig/argv.h                 |     8 +-
 include/tig/blame.h                |     2 +-
 include/tig/blob.h                 |     2 +-
 include/tig/diff.h                 |     2 +-
 include/tig/display.h              |     2 +-
 include/tig/draw.h                 |     2 +-
 include/tig/git.h                  |     2 +-
 include/tig/graph.h                |     2 +-
 include/tig/grep.h                 |     2 +-
 include/tig/help.h                 |     2 +-
 include/tig/io.h                   |     2 +-
 include/tig/keys.h                 |     2 +-
 include/tig/line.h                 |     2 +-
 include/tig/log.h                  |     2 +-
 include/tig/main.h                 |     2 +-
 include/tig/map.h                  |     2 +-
 include/tig/options.h              |     2 +-
 include/tig/pager.h                |     2 +-
 include/tig/parse.h                |     2 +-
 include/tig/prompt.h               |     2 +-
 include/tig/refdb.h                |     2 +-
 include/tig/reflog.h               |     2 +-
 include/tig/refs.h                 |     2 +-
 include/tig/repo.h                 |     2 +-
 include/tig/request.h              |     2 +-
 include/tig/search.h               |     2 +-
 include/tig/stage.h                |     2 +-
 include/tig/stash.h                |     2 +-
 include/tig/status.h               |     2 +-
 include/tig/string.h               |    13 +-
 include/tig/tig.h                  |     6 +-
 include/tig/tree.h                 |     2 +-
 include/tig/types.h                |     5 +-
 include/tig/ui.h                   |     2 +-
 include/tig/util.h                 |     2 +-
 include/tig/view.h                 |     2 +-
 include/tig/watch.h                |     2 +-
 src/apps.c                         |     2 +-
 src/argv.c                         |    16 +-
 src/blame.c                        |    22 +-
 src/blob.c                         |    18 +-
 src/diff.c                         |     4 +-
 src/display.c                      |    14 +-
 src/draw.c                         |    13 +-
 src/graph-v1.c                     |     2 +-
 src/graph-v2.c                     |     2 +-
 src/graph.c                        |     2 +-
 src/grep.c                         |     5 +-
 src/help.c                         |     2 +-
 src/io.c                           |     2 +-
 src/keys.c                         |    29 +-
 src/line.c                         |     2 +-
 src/log.c                          |     9 +-
 src/main.c                         |    19 +-
 src/map.c                          |     2 +-
 src/options.c                      |     4 +-
 src/pager.c                        |     4 +-
 src/parse.c                        |     8 +-
 src/prompt.c                       |     2 +-
 src/refdb.c                        |     5 +-
 src/reflog.c                       |     2 +-
 src/refs.c                         |     3 +-
 src/repo.c                         |     2 +-
 src/request.c                      |     2 +-
 src/search.c                       |     2 +-
 src/stage.c                        |    14 +-
 src/stash.c                        |     3 +-
 src/status.c                       |    18 +-
 src/string.c                       |    18 +-
 src/tig.c                          |     2 +-
 src/tree.c                         |    53 +-
 src/types.c                        |     2 +-
 src/ui.c                           |     2 +-
 src/util.c                         |     4 +-
 src/view.c                         |    27 +-
 src/watch.c                        |    12 +-
 test/blame/default-test            |     8 +-
 test/blame/initial-diff-test       |     2 +-
 test/blame/revargs-test            |     4 +-
 test/blame/start-on-line-test      |     2 +-
 test/blame/stash-test              |     6 +-
 test/diff/diff-context-test        |     8 +-
 test/diff/diff-wdiff-context-test  |     8 +-
 test/diff/wrap-lines-test          |     2 +-
 test/grep/editor-test              |     2 +-
 test/help/user-command-test        |     2 +-
 test/log/submodule-test            |     2 +-
 test/main/emoji-test               |     2 +-
 test/main/mailmap-test             |     2 +-
 test/main/vertical-lines-test      |     6 +-
 test/main/view-split-test          |    10 +-
 test/regressions/github-434-test   |     2 +-
 test/stage/default-test            |    56 +
 test/tigrc/command-value-long-test |     2 +-
 test/tools/libgit.sh               |     2 +-
 test/tools/libtest.sh              |     2 +-
 test/tools/show-results.sh         |     2 +-
 test/tools/test-graph.c            |     2 +-
 tigrc                              |    17 +-
 tools/announcement.sh              |     2 +-
 tools/doc-gen.c                    |     2 +-
 tools/header.h                     |     2 +-
 tools/install.sh                   |     2 +-
 tools/make-builtin-config.sh       |     2 +-
 tools/release.sh                   |     2 +-
 tools/uninstall.sh                 |     2 +-
 126 files changed, 11447 insertions(+), 11136 deletions(-)

Abhinav Gupta (1):
      update_view_title: Fix NULL dereference at startup (#1293)

Armin Brauns (1):
      refdb: ignore prefetch refs (#1318)

Conor Lowry (1):
      fix date so rpmbuild completes

Jakub Wilk (1):
      Use HTTPS for GitHub clone URLs (#1310)

Kimihiro Nonaka (2):
      Cast the argument passed to is*() function in ctype.h to unsigned char.
      Fixed an issue where is*() function argument was not cast as unsigned char.

Pavel Roskin (2):
      Fix "dangling pointer" warning
      Don't use array size in function arguments

Thomas Koutcher (24):
      Fix macOS CI
      Enforce a blank before view scroll percentage
      Fix refresh-mode periodic not updating branch labels
      Update utf8proc to v2.9.0
      Update GitHub checkout action to v4
      Also use lightweight tags in the Refs line of the diff view
      Fix readline echo when stdin is redirected
      Support %(text) in all views with a text column
      Fix tig blame --reverse
      Move default log view options to tigrc
      Fix status view lockup
      Allow to go to stage view without Enter
      Fix chunk staging behaviour in plain stage view
      Bump copyright year to 2024
      Update NEWS
      Minor update to tigrc and doc
      Fix untracked changes staging behaviour in plain stage view
      Fix regression introduced in e2f1af4
      Show the selected commit in the blame view title window
      Reset state variables when selecting a commit with no reference
      Improve the blob view experience
      Clear keybinding from all keymaps (unbind) with `bind generic <key> none`
      Fix parsing of `git ls-tree` for submodules
      tig-2.5.9

Wesley Moore (1):
      Initialise struct timezone (#1291)