Skip to content

Releases: jonas/tig

tig-1.1

23 Apr 21:28
Compare
Choose a tag to compare

I've release tig version 1.1 with a bunch of improvements and bug fixes. Note that tig no longer uses move/copy detection by default to work better on large repository. See the release notes below on how to restore the old behavior.

Release notes

Incompatibilities:

  • Disable diff move/copy detection by default, boosting diff
    performance on larger projects. Use git config 'diff.renames' option
    (git-wide) to set your preferred behavior. Environment variable
    TIG_DIFF_OPTS can be used to restore the old behavior.
  • Values set for author-width and filename-width will result in widths
    one character bigger than previously.

Improvements:

  • Typing a text in the prompt will be interpreted as a tig command.
    Prefixing the command with a '!' will execute this system command in
    an external pager. Entering a single key will execute the
    corresponding key binding.
  • Basic support for wrapping long line in pager, diff, and stage views.
    Enable using: set wrap-lines = yes. (GH #2)
  • User-defined commands prefixed with a '?' means prompt before
    execution. Example: bind main B !?git rebase -i %(commit).
  • User-defined commands prefixed with a '<' means exit after execution.
    Example: bind main C !<git commit. (GH #66)
  • User-defined commands are executed unquoted to support shell commands.
    Example: bind generic I ! <at> sh -c "echo -n %(commit) | xclip -selection c".
    (GH #65)
  • Configure case-insensitive searches using: set ignore-case = yes.
  • Add "deleted mode" line type for better diff coloring.
  • Open editor when requesting edit action from within a file diff.
  • Update AX_WITH_CURSES to build under Cygwin.
  • Improve tigrc(5) documentation. (Debian #682766)
  • Allow to build on Mac OS 10.7 without the configure script. (GH #25)
  • Add option to split the view vertically instead of horizontally.
    Example: `set vertical-split = yes'. (GH #76)
  • Add 'show-id' and 'id-width' options to configure the display of
    commit IDs in the main view and ID width in the blame view. (GH #77)
  • Allow to override git-based encoding to UTF-8 by setting
    'i18n.commitencoding' or 'gui.encoding'.
  • Improve autobuild support to track generated files and work with
    autoreconf 2.61.
  • Commit IDs are read from stdin when --stdin is given; works for main
    and diff view, e.g. tig --no-walk --stdin < cherry-picks.txt.
  • Add option to disable focusing of the child view when it's opened.
    Disable using: set focus-child = no. (GH #83)
  • Allow to open blob related with added content in a diff. (GH #91)

Bug fixes:

  • Fix commit graph regression when a path spec is specified. (GH #53)
  • Main view: only show staged/unstaged changes for the current branch.
  • Support submodules created with current version of git. (GH #54)
  • Fix diff status message for file diffs with no content changes.
  • Fix parent blaming when tig is launched in subdirectory. (GH #70)
  • Do not show deleted branch when reloading the branch view.

Change summary

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

 .gitignore                     |    2 +
 INSTALL                        |    8 +
 Makefile                       |   35 +-
 NEWS                           |   57 ++-
 autogen.sh                     |   22 +
 config.make.in                 |   12 +-
 configure.ac                   |   13 +-
 contrib/announcement.sh        |    2 +-
 contrib/aspell.dict            |  338 ++++++------
 contrib/ax_with_curses.m4      |  544 ++++++++++++++++---
 contrib/config.make-Darwin     |    3 +
 contrib/tig.spec.in            |    4 +
 contrib/update-release-docs.sh |   53 ++
 git.h                          |   36 +-
 io.c                           |   64 ++-
 io.h                           |    9 +-
 manual.txt                     |   47 +-
 refs.c                         |    2 +-
 test-graph.c                   |    2 +-
 tig.1.txt                      |    3 +-
 tig.c                          |  960 +++++++++++++++++++++++---------
 tig.h                          |   51 ++-
 tigrc.5.txt                    |  142 ++++-
 23 files changed, 1806 insertions(+), 603 deletions(-)

     1  Beat Bolli
     1  Donald Chai
     1  Douglas Livingstone
     1  Hugo Schmitt
     1  Jiri Jaburek
    43  Jonas Fonseca
     2  Petr Uzel
     2  Rich Healey
     1  Ryan Schlesinger
     8  Samuel Bronson
     3  Valentin Haenel
     1  Victor Foitzik
     7  Vivien Didelot
     1  Štěpán Němec

tig-1.0

23 Apr 21:29
Compare
Choose a tag to compare

Version 1.0 of tig is now available. This release brings many smaller tweaks and improvements as well as a number of fixes and compatibility changes to work with the newer versions of git. See the release notes below for a detailed list of changes.

Note that the master repository has been moved to:

git://github.com/jonas/tig.git.

So if you were tracking the old master repository, please update your .git/config or run:

$ git remote set-url origin git://github.com/jonas/tig.git

Release notes

The master repository is git://github.com/jonas/tig.git, and the old
master repository (http://jonas.nitro.dk/tig/tig.git) will be retired.

Improvements:

  • Use git-log(1)s default commit ordering. The old behavior can be
    restored by adding set commit-order = topo to ~/.tigrc.

  • Support staging of single lines. Bound to '1' default. (GH #21)

  • Use + to open the initial view at an arbitrary line. (GH #20)

  • Add show-notes ~/.tigrc option. Notes are displayed by default.

  • Support jumping to specific SHAs in the main view.

  • Decorate replaced commits.

  • Display line numbers in main view.

  • Colorize binary diff stats. (GH #17)

  • Custom colorization of lines matching a string prefix (GH #16).
    Example configuration: color "Reported-by:" green default

  • Use git's color settings for the main, status and diff views.
    Put set read-git-colors = no in ~/.tigrc to disable.

  • Handle editor options with multiple arguments. (GH #12)

  • Show filename when running tig blame with copy detection. (GH #19)

  • Use 'source ' command to load additional files from ~/.tigrc

  • User-defined commands prefixed with ' ' are run with no console
    output, e.g.

    bind generic 3 ! rm sys$command

  • Make display of space changes togglable in the diff and stage view.
    Bound to 'W' by default.

  • Use per-file encoding specified in gitattributes(5) for blobs and
    unstaged files.

  • Obsolete commit-encoding option and pass --encoding=UTF-8 to revision
    commands.

  • Main view: show uncommitted changes as staged/unstaged commits.
    Can be disabled by putting set show-changes = no in ~/.tigrc.

  • Add %(prompt) external command variable, which will prompt for the
    argument value.

  • Log information about git commands when the TIG_TRACE environment
    variable is set. Example: TIG_TRACE=/tmp/tig.log tig

  • Branch view: Show the title of the last commit.

  • Increase the author auto-abbreviation threshold to 10. (GH #49)

  • For old commits show number of years in relative dates. (GH #50)

Bug fixes:

  • Fix navigation behavior when going from branch to main view. (GH #38)
  • Fix segfault when sorting the tree view by author name.
  • Fix diff stat navigation for unmodified files with stat changes.
  • Show branches/refs which names are a substring of the current branch.
  • Stage view: fix off-by-one error when jumping to a file in a diff
    with only one file.
  • Fix diff-header colorization. (GH #15)

Change summary

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

 BUGS                        |    6 +-
 INSTALL                     |    5 +-
 Makefile                    |   29 +-
 NEWS                        |   56 +
 SITES                       |    4 +-
 TODO                        |   41 -
 VERSION                     |    1 -
 asciidoc.conf               |    3 +
 contrib/aspell.dict         |   17 +-
 contrib/release.sh          |    4 +-
 contrib/tig-completion.bash |    4 +-
 contrib/tig.spec.in         |    2 +-
 contrib/tigrc               |    1 -
 git.h                       |   55 +
 io.c                        |  167 +++-
 io.h                        |   14 +-
 manual.txt                  |   13 +-
 refs.c                      |  242 ++++
 refs.h                      |   41 +
 tig.1.txt                   |   15 +-
 tig.c                       | 2514 ++++++++++++++++++++++-------------
 tig.h                       |  107 ++-
 tigmanual.7.txt             |    2 +-
 tigrc.5.txt                 |   99 ++-
 24 files changed, 2368 insertions(+), 1074 deletions(-)

     4  Giuseppe Bilotta
     6  Heiko Schlichting
   108  Jonas Fonseca
     3  Jonathan Neuschäfer
     1  Kumar Appaiah
     1  Michael J Gruber
     1  P. Sadik
     1  Pierre Habouzit
     1  Robert Clausecker
     1  Romain Francoise
     9  Thomas Sibley
     1  Vivien Didelot
     2  zomfg