color cursor white blue underline bold
Incompatibilities:
Setting the cursor color no longer automatically sets the text to bold. The old lazy behavior was a bug.
Remove check for git-repo-config, which was officially deprecated in git version 1.5.4. The configure script no longer depends on git being installed.
Improvements:
Provide the manual as a man page named tigmanual(7).
Add ability to toggle between showing shorter dates (without time info) and relative dates. Use D to toggle between date formats.
Show the active (instead of the default) keybindings in the help view. Furthermore, honor the keymap when suggesting actions in the help messages.
Add branch view for choosing which branch to display in the main view. Bound to H by default.
Tree view: show entry to parent directory (..) when running from subdirectory.
Tree view: sort entries by name, date or author. Toggling is bound to i by default, with I controlling whether or not to sort in ascending order.
Make height of the lower view in a split view configurable by setting the split-view-height variable to a number or a percentage. Defaults to 2/3 of the total view height.
Allow multiple text attributes for color commands:
color cursor white blue underline bold
Bug fixes:
Blame view: fix loading of blame data when opened from the tree view and CWD is not the repo root. (Debian bug 540766)
Tree view: fix searching.
Improvements:
Status view: improve "on branch" information inspired by the prompt code in git’s bash completion script.
Colors for 256-capable terminals can be specified as colorN.
Entering a number in the prompt will jump to that line number.
Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
Make behavior of horizontal scrolling configurable by setting the horizontal-scroll variable to a number or a percentage. Defaults to scrolling 50% of the view width.
Bug fixes:
Status view: show error when failing to open a file.
Status view: report failures to update a file.
Blame view: fix problem with uninitialized variable.
Blame view: use line number information when loading blame for specific commit.
Fix handling of quoted strings in the config file.
Fix horizontal scrolling glitches.
Incompatibilities:
The screen-resize action has been deprecated. It had no real use for users and was never meant to be exposed.
The "tree-parent" action was renamed to "parent". Warnings will be emitted for transition.
Remove parsing of deprecated option -S and subcommands log and diff.
The "author" color replaces "main-author". Setting the latter will now set the "author" color.
Improvements:
Horizontal scrolling. Bound to Left/Right by default.
Read tigrc(5) options from git configuration files using the syntax:
[tig] show-rev-graph = true [tig "color"] cursor = yellow red bold [tig "bind"] generic = P parent
Tree view: avoid flickering when updating.
Tree view: annotate entries with commit information.
Tree & blob view: open any blob in an editor.
Stage & main view: restore view position when reloading.
Blame view: load blame for parent commit. For merge commits the parent is queried. Bound to , by default via the existing "parent" action.
Abbreviate author names to initials when the width of the author column is below 6 characters.
Bug fixes:
Tree view: fix memory corruption bug when updating.
Tree view: improve handling of empty trees.
Status view: fix reverting of unmerged files.
Fix regression for non-UTF-8 locales corrupting the view data.
Fix regression parsing multiple spaces in ~/.tigrc.
Incompatibilities:
Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have access to shell features, such as subshells and variable expansion. The easiest way to upgrade your configuration is to put such commands in a script file or as a git alias.
Improvements:
Display repository references in the sorted order: tags, heads, tracked remotes, remotes.
Add bash completion for blame.
Tree view: edit files of the current branch.
Run requests: new identifiers %(directory), %(file), and %(ref)
Improve responsiveness and view loading speed by using select(2).
Bug fixes:
Separate blame revision and file argument by "--" to avoid problems.
Main view: fix redrawing of the last commit wrt. the revision graph.
Fix waiting for input after executing a run request in pager mode.
Status & stage view: refuse to open directories and deleted files.
Tree view: show error when requesting blame for all non-file entries.
Do not draw loading views, which are not displayed.
Fix launching of mergetool from a subdirectory.
Improvements:
Status view: revert uncommitted diff chunks and unstaged files with changes. Bound to ! by default.
Main view: use --topo-order also when rev-list arguments are given on the command line.
Log view: support for refreshing.
Bug fixes:
Status view: use ls-files' --exclude-standard so user specific ignore rules are effective. The option was added in git version 1.5.4.
Stage view: fix assertion failure triggered when updating while status view is not displayed.
Help view: avoid confusion by showing "(no key)" instead of "?" for unbound requests.
Reload repository references when refreshing the main (and log) view.
Do not maximize views when refreshing.
Improvements:
F5 also refreshes the current view.
Allow line graphics to be disabled with new line-graphics option.
Main view: also include the reference names when searching.
Main view: support for refreshing.
Main view: disable boundary commits by default. Use --boundary when they should be shown. (Debian bug 498628)
Stage view: add stage-next action to jump to next diff chunk that can be staged. By default bound to @.
Configure: check for the ncurses header files.
Add author-width option to customize the width of the author column. For example, put the following in ~/.tigrc: set author-width = 10
Bug fixes:
Fix regression when staging all diff chunks in a section.
Bind the maximize view action to O; it conflicted with the keybinding to launch the merge tool in the status view.
Fix problem with $(cmd) usage in shell code. Some shells (jsh) installed as /bin/sh does not support it.
Do not show incomplete boundary commits when --no-walk is used.
Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
Ignore pipe reads with errno "Success" reported after a signals, for example when refreshing doing background loading.
Incompatibilities:
Remove parsing of deprecated options: -g, -l, -d.
The first seen -- will stop option parsing and is passed to git instead of breaking out of tig’s option parsing.
New features:
Blame view; bound to B by default, reachable from the command line and the tree, status, and stage views.
Blame/main view: allow display of date, author, and references to be toggled on/off. Bound to D, A, and F respectively.
Add action to maximize the current view.
Improvements:
Show the current branch in the status view.
Show local/light-weight tags.
Bug fixes:
Fix regressions for the pager mode.
Fix refreshing of the index with working directory info.
Improvements:
Status view: detect renamed files and show them with R.
Status view: refresh the index to avoid "empty diffs".
Diff view: make diff headers more verbose to include e.g. committer.
Configure: check for the ncursesw library.
Bug fixes:
Fix UTF-8 handling for tag names and commit messages.
Fix the check for git-config(1) in configure to handle the case when git has been installed using a libexecdir which is not in the path.
Fix replacing of SYSCONFDIR when installing from released tarballs.
Incompatibilities:
Deprecate most tig specific command line options to make tig more compatible with gitk. The deprecated options are: -g, -l, -d, and -S. Use of any of them will result in a warning being printed to stderr. Instead of -S, use the new status subcommand.
Make man page building depend on DocBook XSL version >= 1.72.0.
Install man pages in $(prefix)/share/man.
Implement the cherry pick action (bound to C) using new support for running external commands. This obsoletes the TIG_CHEERY_PICK environment variable
New features:
Add support for binding keys to external commands. To bind . to running git-commit(1), add the line: "bind generic . !git commit" to your ~/.tigrc. Each command can have replacement string such as %(commit), %(head), and %(blob), which are substituted before the command is run.
Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change user and system-wide configuration files, respectively.
Improvements:
Main view: color the revision graph.
Main view: show boundary commits; they are marked with ^ in the revision graph.
Tree view: add tree-parent action to jump to view of the parent tree. Bound to , by default.
Allow the default terminal colors to be overwritten. To use black text on white, add the line "color default white black" to your ~/.tigrc.
Misc. documentation improvements.
Bug fixes:
Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to avoid running external diff drivers.
Use --no-color when calling git-log(1).
Fix crash when opening mergetool for lines that are not unmerged.
Incompatibilities:
Make the clean rule to never remove generated documentation files. Use the distclean rule for accomplishing this.
New features:
Add support for cherry-picking commits in the main view to the current branch. Bound to C by default.
Improvements:
Add support for launching git-mergetool(1) from the status view. Bound to M by default.
Add support for refreshing/reloading the status view
Detect working trees and disable the status view when it is missing.
Bug fixes:
Fix iconv() checking in configure.
Fix editor invocation to make paths relative to the project root.
Fix out-of-range current line when reloading the status view.
Include autoconf files in the tarball generated by make dist.
New features:
Add bash completion script for tig (contrib/tig-completion.bash).
Add optional autoconf-based build infrastructure.
Add stage view for showing changes in the working tree and add support for staging individual diff chunks for commit.
Improvements:
Status view: allow all files in a section to be staged for commit.
Status view: Add support for opening files in an editor. Bound to e by default.
Tree view: use a stack for remembering the lines for parent tree.