diff --git a/INSTALL.html b/INSTALL.html index e6bd01277..55fc85e1c 100644 --- a/INSTALL.html +++ b/INSTALL.html @@ -740,10 +740,10 @@

Installation instructions

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

+repository https://github.com/jonas/tig.git.

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

+tig-2.5.9 +(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 038b92758..a9995bbdb 100644 --- a/NEWS.html +++ b/NEWS.html @@ -738,6 +738,138 @@

Release notes

+

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) +

    +
  • +
+
+
+

tig-2.5.8

Improvements:

@@ -5005,7 +5137,7 @@

tig-0.9

diff --git a/README.html b/README.html index 21b8f8f9d..806c6a802 100644 --- a/README.html +++ b/README.html @@ -46,7 +46,7 @@

Resources

  • -Git URL: git://github.com/jonas/tig.git +Git URL: https://github.com/jonas/tig.git

  • diff --git a/doc/manual.html b/doc/manual.html index 89ef09f27..464bfb875 100644 --- a/doc/manual.html +++ b/doc/manual.html @@ -1320,14 +1320,14 @@

    2.3. Title Windows

    ID if available, and where the view is positioned:

  • -
    [main] c622eefaa485995320bc743431bae0d497b1d875 - commit 1 of 61 (1%)
    +
    [main] c622eefaa485995320bc743431bae0d497b1d875 - commit 1 of 61             1%

    By default, the title of the current view is highlighted using bold font. For long loading views (taking over 3 seconds) the time since loading started will be appended:

    -
    [main] 77d9e40fbcea3238015aea403e06f61542df9a31 - commit 1 of 779 (0%) 5s
    +
    [main] 77d9e40fbcea3238015aea403e06f61542df9a31 - commit 1 of 779 loading 5s 0%
    @@ -2074,7 +2074,7 @@

    6. More Information

    7. Copyright

    -

    Copyright (c) 2006-2022 Jonas Fonseca <jonas.fonseca@gmail.com>

    +

    Copyright (c) 2006-2024 Jonas Fonseca <jonas.fonseca@gmail.com>

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -2104,7 +2104,7 @@

    8. See Also

    diff --git a/doc/tig.1 b/doc/tig.1 index fc5caf54d..8ac389e72 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: 02/04/2023 +.\" Date: 03/29/2024 .\" Manual: Tig Manual -.\" Source: Tig 2.5.8 +.\" Source: Tig 2.5.9 .\" Language: English .\" -.TH "TIG" "1" "02/04/2023" "Tig 2\&.5\&.8" "Tig Manual" +.TH "TIG" "1" "03/29/2024" "Tig 2\&.5\&.9" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -489,7 +489,7 @@ if it does not exist\&. Please visit Tig\(cqs \m[blue]\fBhome page\fR\m[]\&\s-2\u[1]\d\s+2 or \m[blue]\fBmain Git repository\fR\m[]\&\s-2\u[2]\d\s+2 for information about new releases and how to report bugs or feature request\&. .SH "COPYRIGHT" .sp -Copyright (c) 2006\-2022 Jonas Fonseca <\m[blue]\fBjonas\&.fonseca@gmail\&.com\fR\m[]\&\s-2\u[3]\d\s+2> +Copyright (c) 2006\-2024 Jonas Fonseca <\m[blue]\fBjonas\&.fonseca@gmail\&.com\fR\m[]\&\s-2\u[3]\d\s+2> .sp This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&. .SH "SEE ALSO" diff --git a/doc/tig.1.html b/doc/tig.1.html index f3d86cccd..2fb7a8ed4 100644 --- a/doc/tig.1.html +++ b/doc/tig.1.html @@ -1186,7 +1186,7 @@

    BUGS

    -

    Copyright (c) 2006-2022 Jonas Fonseca <jonas.fonseca@gmail.com>

    +

    Copyright (c) 2006-2024 Jonas Fonseca <jonas.fonseca@gmail.com>

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -1206,7 +1206,7 @@

    SEE ALSO

    diff --git a/doc/tigmanual.7 b/doc/tigmanual.7 index 18940285a..0509215f3 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: 02/04/2023 +.\" Date: 03/29/2024 .\" Manual: Tig Manual -.\" Source: Tig 2.5.8 +.\" Source: Tig 2.5.9 .\" Language: English .\" -.TH "TIGMANUAL" "7" "02/04/2023" "Tig 2\&.5\&.8" "Tig Manual" +.TH "TIGMANUAL" "7" "03/29/2024" "Tig 2\&.5\&.9" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -564,7 +564,7 @@ Each view has a title window which shows the name of the view, current commit ID .RS 4 .\} .nf -[main] c622eefaa485995320bc743431bae0d497b1d875 \- commit 1 of 61 (1%) +[main] c622eefaa485995320bc743431bae0d497b1d875 \- commit 1 of 61 1% .fi .if n \{\ .RE @@ -577,7 +577,7 @@ By default, the title of the current view is highlighted using bold font\&. For .RS 4 .\} .nf -[main] 77d9e40fbcea3238015aea403e06f61542df9a31 \- commit 1 of 779 (0%) 5s +[main] 77d9e40fbcea3238015aea403e06f61542df9a31 \- commit 1 of 779 loading 5s 0% .fi .if n \{\ .RE @@ -1567,7 +1567,7 @@ $ tig \-\-all \-\-since=1\&.week \-\- Makefile Please visit Tig\(cqs \m[blue]\fBhome page\fR\m[]\&\s-2\u[1]\d\s+2 or \m[blue]\fBmain Git repository\fR\m[]\&\s-2\u[2]\d\s+2 for information about new releases and how to report bugs and feature requests\&. .SH "COPYRIGHT" .sp -Copyright (c) 2006\-2022 Jonas Fonseca <\m[blue]\fBjonas\&.fonseca@gmail\&.com\fR\m[]\&\s-2\u[3]\d\s+2> +Copyright (c) 2006\-2024 Jonas Fonseca <\m[blue]\fBjonas\&.fonseca@gmail\&.com\fR\m[]\&\s-2\u[3]\d\s+2> .sp This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&. .SH "SEE ALSO" diff --git a/doc/tigrc.5 b/doc/tigrc.5 index 4134b2848..a72960a42 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: 02/04/2023 +.\" Date: 03/29/2024 .\" Manual: Tig Manual -.\" Source: Tig 2.5.8 +.\" Source: Tig 2.5.9 .\" Language: English .\" -.TH "TIGRC" "5" "02/04/2023" "Tig 2\&.5\&.8" "Tig Manual" +.TH "TIGRC" "5" "03/29/2024" "Tig 2\&.5\&.9" "Tig Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -211,10 +211,11 @@ and local\-tag, the format for tag is used\&. Similarly, if no format is specified for -tracked\-remote -the +tracked\-remote, the format for remote -format is used\&. Prefix with +is used, and if no format is specified for any other reference type, the format for +branch +is used\&. Prefix with hide: to not show that reference type, e\&.g\&. hide:remote\&. Supported reference types are: @@ -315,6 +316,18 @@ stash : The stash\&. .sp -1 .IP \(bu 2.3 .\} +prefetch : Refs prefetched by +git maintenance\&. +.RE +.sp +.RS 4 +.ie n \{\ +\h'-04'\(bu\h'+03'\c +.\} +.el \{\ +.sp -1 +.IP \(bu 2.3 +.\} other : Any other reference\&. .RE .RE @@ -404,6 +417,11 @@ Number of spaces per tab\&. The default is 8 spaces\&. Number of context lines to show for diffs\&. .RE .PP +\fIword\-diff\fR (bool) +.RS 4 +Show a word diff\&. Only plain mode is supported\&. Off by default\&. +.RE +.PP \fIdiff\-highlight\fR (mixed) .RS 4 Whether to highlight diffs using Git\(cqs @@ -462,6 +480,11 @@ git\-shortlog(1)\&. Wrap long lines\&. By default, lines are not wrapped\&. Not compatible with line numbers enabled\&. .RE .PP +\fIwrap\-search\fR (bool) +.RS 4 +Wrap around to top/bottom of view when searching\&. On by default\&. +.RE +.PP \fIfocus\-child\fR (bool) .RS 4 Whether to focus the child view when it is opened\&. When disabled the focus will remain in the parent view, avoiding reloads of the child view when navigating the parent view\&. True by default\&. @@ -1072,9 +1095,9 @@ Or in the Git configuration files: .nf [tig "bind"] # \*(Aqunbind\*(Aq the default quit key binding - main = Q none + generic = Q none # Cherry\-pick current commit onto current branch - generic = C !git cherry\-pick %(commit) + main = C !git cherry\-pick %(commit) .fi .if n \{\ .RE @@ -1083,6 +1106,8 @@ Or in the Git configuration files: .sp Keys are mapped by first searching the keybindings for the current view, then the keybindings for the \fBgeneric\fR keymap, and last the default keybindings\&. Thus, the view keybindings override the generic keybindings which override the built\-in keybindings\&. .sp +Clear keybinding (unbind) from all keymaps at once with bind \fBgeneric\fR \fIkey\fR \fBnone\fR\&. +.sp Keybindings at the line\-entry prompt are typically governed by the readline library, and are configured separately in ~/\&.inputrc\&. See \fIreadline(1)\fR\&. Tig respects but does not require an $if tig section in ~/\&.inputrc\&. .PP Keymaps @@ -2747,7 +2772,7 @@ source ~/\&.tig/keybindings\&.tigrc .sp .SH "COPYRIGHT" .sp -Copyright (c) 2006\-2022 Jonas Fonseca <\m[blue]\fBjonas\&.fonseca@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2> +Copyright (c) 2006\-2024 Jonas Fonseca <\m[blue]\fBjonas\&.fonseca@gmail\&.com\fR\m[]\&\s-2\u[1]\d\s+2> .sp This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&. .SH "SEE ALSO" diff --git a/doc/tigrc.5.html b/doc/tigrc.5.html index 9baeda92f..23cb9776d 100644 --- a/doc/tigrc.5.html +++ b/doc/tigrc.5.html @@ -974,7 +974,9 @@

    Variables

    names. Wrap the name of the reference type with the characters you would like to use for formatting, e.g. [tag] and <remote>. If no format is specified for local-tag, the format for tag is used. Similarly, if no - format is specified for tracked-remote the remote format is used. + format is specified for tracked-remote, the format for remote is used, + and if no format is specified for any other reference type, the format for + branch is used. Prefix with hide: to not show that reference type, e.g. hide:remote. Supported reference types are:

    @@ -1021,6 +1023,11 @@

    Variables

  • +prefetch : Refs prefetched by git maintenance. +

    +
  • +
  • +

    other : Any other reference.

  • @@ -1163,6 +1170,14 @@

    Variables

    +word-diff (bool) +
    +
    +

    + Show a word diff. Only plain mode is supported. Off by default. +

    +
    +
    diff-highlight (mixed)
    @@ -1233,6 +1248,14 @@

    Variables

    +wrap-search (bool) +
    +
    +

    + Wrap around to top/bottom of view when searching. On by default. +

    +
    +
    focus-child (bool)
    @@ -1787,14 +1810,16 @@

    Bind command

    [tig "bind"]
             # 'unbind' the default quit key binding
    -        main = Q none
    +        generic = Q none
             # Cherry-pick current commit onto current branch
    -        generic = C !git cherry-pick %(commit)
    + main = C !git cherry-pick %(commit)

    Keys are mapped by first searching the keybindings for the current view, then the keybindings for the generic keymap, and last the default keybindings. Thus, the view keybindings override the generic keybindings which override the built-in keybindings.

    +

    Clear keybinding (unbind) from all keymaps at once with bind generic key +none.

    Keybindings at the line-entry prompt are typically governed by the readline library, and are configured separately in ~/.inputrc. See readline(1). Tig respects but does not require an $if tig section in ~/.inputrc.

    @@ -2897,7 +2922,7 @@

    Source command

    -

    Copyright (c) 2006-2022 Jonas Fonseca <jonas.fonseca@gmail.com>

    +

    Copyright (c) 2006-2024 Jonas Fonseca <jonas.fonseca@gmail.com>

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -2917,7 +2942,7 @@

    SEE ALSO