diff --git a/INSTALL.html b/INSTALL.html index a288f4536..e6bd01277 100644 --- a/INSTALL.html +++ b/INSTALL.html @@ -742,8 +742,8 @@

Installation instructions

Download a tarball from https://github.com/jonas/tig/releases or clone the Tig repository git://github.com/jonas/tig.git.

The latest version is: -tig-2.5.7 -(sha256)

+tig-2.5.8 +(sha256)

Note: Do not use the tar.gz file for version 2.0 because it will fail to compile due to issue #283 and #337

@@ -1044,7 +1044,7 @@

Tools and packages

diff --git a/NEWS.html b/NEWS.html index 8b7087dd1..038b92758 100644 --- a/NEWS.html +++ b/NEWS.html @@ -738,6 +738,97 @@

Release notes

+

tig-2.5.8

+
+

Improvements:

+
    +
  • +

    +Update utf8proc to v2.8.0, supporting Unicode 15. +

    +
  • +
  • +

    +Support editing from the pager and the log (-p) views. (#1243) +

    +
  • +
  • +

    +Adjust build for native Apple Silicon. +

    +
  • +
  • +

    +Autoscroll the pager view while loading. (#1223) +

    +
  • +
  • +

    +Automatically show next diff in the status view. (#413, #469) +

    +
  • +
  • +

    +Replace Unknown author with Not Committed Yet. +

    +
  • +
  • +

    +Allow use of regular expressions for coloring. (#1249) +

    +
  • +
  • +

    +Add support for option word-diff-regex. (#1252) +

    +
  • +
  • +

    +Include original blob name in temporary filename. (#1254) +

    +
  • +
+

Bug fixes:

+
    +
  • +

    +Use %(file_old) for old filename in the blame view. (#1226) +

    +
  • +
  • +

    +Correctly report which version of libncurses was linked. (#1240, #1241) +

    +
  • +
  • +

    +Fix stage view closing when holding the ] key. (#1245) +

    +
  • +
  • +

    +Make tests work from a path with symlinks. +

    +
  • +
  • +

    +Fix encoding of very long lines. (#1227) +

    +
  • +
  • +

    +Fix diffstat color for tig log -p. +

    +
  • +
  • +

    +Clean IO before closing a view or quitting. +

    +
  • +
+
+
+

tig-2.5.7

Bug fixes:

@@ -4914,7 +5005,7 @@

tig-0.9

diff --git a/doc/manual.html b/doc/manual.html index 15fa17480..89ef09f27 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -1224,7 +1224,7 @@

2.2. Browsing State and User-defined Commands

%(text)

-

The text of the currently selected line.

+

The text column of the currently selected line.

%(repo:head)

@@ -1738,6 +1738,10 @@

4.6. Searching

+

The format for patterns is either POSIX.2 “extended” REs or PCRE / PCRE2 if +Tig was compiled with PCRE / PCRE2 support (check with tig -v). See the +manpage of re_format(7) or pcrepattern(3) / pcre2pattern(3).

+

Case sensitivity can be controlled with variable ignore-case.

4.7. Misc

@@ -2100,7 +2104,7 @@

8. See Also

diff --git a/doc/tig.1 b/doc/tig.1 index 07a8c8095..fc5caf54d 100644 --- a/doc/tig.1 +++ b/doc/tig.1 @@ -2,12 +2,12 @@ .\" Title: tig .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 08/25/2022 +.\" Date: 02/04/2023 .\" Manual: Tig Manual -.\" Source: Tig 2.5.7 +.\" Source: Tig 2.5.8 .\" Language: English .\" -.TH "TIG" "1" "08/25/2022" "Tig 2\&.5\&.7" "Tig Manual" +.TH "TIG" "1" "02/04/2023" "Tig 2\&.5\&.8" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -50,6 +50,8 @@ Tig is an ncurses\-based text\-mode interface for git(1)\&. It functions mainly .SH "OPTIONS" .sp Command line options recognized by Tig include all valid git\-log(1) and git\-diff(1) options, as well as the following subcommands and Tig\-specific options\&. The first command line parameter not starting with "\-" is interpreted as being either a revision specification or a path and will end the option parsing\&. All additional options will be passed to the underlying Git command\&. +.sp +Note that this means that any arguments to options should be specified together\&. For example, run tig \-Sfoo instead of tig \-S foo, and tig \-\-grep=foo instead of tig \-\-grep foo, otherwise foo will be interpreted as a revision rather than an argument\&. .PP show .RS 4 diff --git a/doc/tig.1.html b/doc/tig.1.html index ff452508e..f3d86cccd 100644 --- a/doc/tig.1.html +++ b/doc/tig.1.html @@ -780,6 +780,10 @@

OPTIONS

options. The first command line parameter not starting with "-" is interpreted as being either a revision specification or a path and will end the option parsing. All additional options will be passed to the underlying Git command.

+

Note that this means that any arguments to options should be specified +together. For example, run tig -Sfoo instead of tig -S foo, and tig --grep=foo +instead of tig --grep foo, otherwise foo will be interpreted as a revision +rather than an argument.

show @@ -1202,7 +1206,7 @@

SEE ALSO

diff --git a/doc/tigmanual.7 b/doc/tigmanual.7 index a389e9462..18940285a 100644 --- a/doc/tigmanual.7 +++ b/doc/tigmanual.7 @@ -2,12 +2,12 @@ .\" Title: tigmanual .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 08/25/2022 +.\" Date: 02/04/2023 .\" Manual: Tig Manual -.\" Source: Tig 2.5.7 +.\" Source: Tig 2.5.8 .\" Language: English .\" -.TH "TIGMANUAL" "7" "08/25/2022" "Tig 2\&.5\&.7" "Tig Manual" +.TH "TIGMANUAL" "7" "02/04/2023" "Tig 2\&.5\&.8" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -389,7 +389,7 @@ T{ %(text) T}:T{ .sp -The text of the currently selected line\&. +The text column of the currently selected line\&. T} T{ .sp @@ -1098,6 +1098,10 @@ Find previous match for the current search regexp\&. T} .TE .sp 1 +.sp +The format for patterns is either POSIX\&.2 \(lqextended\(rq REs or PCRE / PCRE2 if Tig was compiled with PCRE / PCRE2 support (check with tig \-v)\&. See the manpage of re_format(7) or pcrepattern(3) / pcre2pattern(3)\&. +.sp +Case sensitivity can be controlled with variable ignore\-case\&. .SS "Misc" .TS tab(:); diff --git a/doc/tigrc.5 b/doc/tigrc.5 index f794032b9..4134b2848 100644 --- a/doc/tigrc.5 +++ b/doc/tigrc.5 @@ -2,12 +2,12 @@ .\" Title: tigrc .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] .\" Generator: DocBook XSL Stylesheets vsnapshot -.\" Date: 08/25/2022 +.\" Date: 02/04/2023 .\" Manual: Tig Manual -.\" Source: Tig 2.5.7 +.\" Source: Tig 2.5.8 .\" Language: English .\" -.TH "TIGRC" "5" "08/25/2022" "Tig 2\&.5\&.7" "Tig Manual" +.TH "TIGRC" "5" "02/04/2023" "Tig 2\&.5\&.8" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -506,6 +506,11 @@ set mouse\-scroll = 1\&. Mouse support requires that ncurses itself support mous set mouse = true\&. .RE .PP +\fIpager\-autoscroll\fR (bool) +.RS 4 +Whether to scroll automatically the pager view while loading\&. Move the cursor out of the last line to stop scrolling and back in to resume\&. +.RE +.PP \fIpgrp\fR (bool) .RS 4 Make tig process\-group leader when starting and clean all processes when exiting\&. Off by default\&. Do not enable this option if you are using a Zsh version affected by zsh\-workers/43379\&. Run @@ -1493,7 +1498,7 @@ T{ %(text) T}:T{ .sp -The text of the currently selected line\&. +The text column of the currently selected line\&. T} T{ .sp @@ -2266,6 +2271,8 @@ color diff\-chunk magenta default color "Reported\-by:" green default # View\-specific color color tree\&.date black cyan bold +# Custom color +color "/(note|warning|error):/" yellow default bold .fi .if n \{\ .RE @@ -2296,7 +2303,7 @@ Or in the Git configuration files: .PP Area names .RS 4 -Can be either a built\-in area name or a custom quoted string\&. The latter allows custom color rules to be added for lines matching a quoted string\&. Valid built\-in area names are described below\&. Note, all names are case\-insensitive, and you may use +Can be either a built\-in area name or a custom quoted string\&. The latter allows custom color rules to be added for lines matching a quoted string\&. Strings of the form "/\&.../" are interpreted as regular expressions\&. Valid built\-in area names are described below\&. Note, all names are case\-insensitive, and you may use \fI\-\fR, and \fI_\fR interchangeably, e\&.g\&. "Diff\-Header" and "DIFF_HEADER" are the same\&. View\-specific colors can be defined by prefixing the view name to the area name, e\&.g\&. "stage\&.diff\-chunk" and "diff\&.diff\-chunk"\&. diff --git a/doc/tigrc.5.html b/doc/tigrc.5.html index 9f0182e67..9baeda92f 100644 --- a/doc/tigrc.5.html +++ b/doc/tigrc.5.html @@ -1305,6 +1305,15 @@

Variables

+pager-autoscroll (bool) +
+
+

+ Whether to scroll automatically the pager view while loading. Move the + cursor out of the last line to stop scrolling and back in to resume. +

+
+
pgrp (bool)
@@ -2042,7 +2051,7 @@

Browsing state variables

%(text)

-

The text of the currently selected line.

+

The text column of the currently selected line.

%(repo:head)

@@ -2524,7 +2533,9 @@

Color command

color diff-chunk magenta default color "Reported-by:" green default # View-specific color -color tree.date black cyan bold +color tree.date black cyan bold +# Custom color +color "/(note|warning|error):/" yellow default bold

Or in the Git configuration files:

@@ -2547,7 +2558,8 @@

Color command

Can be either a built-in area name or a custom quoted string. The latter allows custom color rules to be added for lines matching a - quoted string. + quoted string. Strings of the form "/…/" are interpreted as + regular expressions. Valid built-in area names are described below. Note, all names are case-insensitive, and you may use -, and _ interchangeably, e.g. "Diff-Header" and "DIFF_HEADER" are the same. @@ -2905,7 +2917,7 @@

SEE ALSO