1 Release notes
2 =============
4 master
5 ------
7 Incompatibilities:
9 - Encode everything internally as UTF-8. This can affect performance,
10 but should in general improve handling of character lengths etc.
11 Also, to properly handle UTF-8 environments use ncurses with wide
12 character support.
13 - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
14 has been deprecated. To allow configuration of the diff view,
15 TIG_DIFF_OPTS can be used.
17 Improvements:
19 - Plug several memory leaks.
20 - Command line arguments are split into diff, revision, and file
21 arguments and made available as %(diff-args), %(rev-args), and
22 %(file-args). Diff view will limit diffs using %(file-args).
23 - Status view: update the file variable when a line is selected so
24 %(file) works as expected.
25 - Branch view: add %(branch) symbol providing access to the selected
26 branch.
27 - Branch view: add entry to browse all branches (uses git-log's --all
28 flag).
29 - Abbreviation of author names can now be configured and toggled.
30 - Mark detached heads with [HEAD].
31 - Add support for displaying dates in local time.
33 Bug fixes:
35 - Status view: fix usage from sub directories, which was broken by the
36 changes made to support blame view from sub directories.
37 - Fix parsing of boolean show-date values.
38 - Fix relative date.
39 - Fix unbind to behave as if the keybinding was never defined.
40 - Fix unbind to also cover built-in run requests.
41 - Fix parsing of unknown keymap names.
43 tig-0.15
44 --------
46 Incompatibilities:
48 - Setting the cursor color no longer automatically sets the text to
49 bold. The old 'lazy' behavior was a bug.
50 - Remove check for git-repo-config, which was officially deprecated in
51 git version 1.5.4. The configure script no longer depends on git
52 being installed.
54 Improvements:
56 - Provide the manual as a man page named tigmanual(7).
57 - Add ability to toggle between showing shorter dates (without time
58 info) and relative dates. Use 'D' to toggle between date formats.
59 - Show the active (instead of the default) keybindings in the help
60 view. Furthermore, honor the keymap when suggesting actions in the
61 help messages.
62 - Add branch view for choosing which branch to display in the main
63 view. Bound to 'H' by default.
64 - Tree view: show entry to parent directory ('..') when running from
65 subdirectory.
66 - Tree view: sort entries by name, date or author. Toggling is bound to
67 'i' by default, with 'I' controlling whether or not to sort in
68 ascending order.
69 - Make height of the lower view in a split view configurable by setting
70 the 'split-view-height' variable to a number or a percentage.
71 Defaults to 2/3 of the total view height.
72 - Allow multiple text attributes for color commands:
74 color cursor white blue underline bold
76 Bug fixes:
78 - Blame view: fix loading of blame data when opened from the tree view
79 and CWD is not the repo root. (Debian bug 540766)
80 - Tree view: fix searching.
82 tig-0.14.1
83 ----------
85 Improvements:
87 - Status view: improve "on branch" information inspired by the prompt
88 code in git's bash completion script.
89 - Colors for 256-capable terminals can be specified as colorN.
90 - Entering a number in the prompt will jump to that line number.
91 - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
92 - Make behavior of horizontal scrolling configurable by setting the
93 'horizontal-scroll' variable to a number or a percentage. Defaults to
94 scrolling 50% of the view width.
96 Bug fixes:
98 - Status view: show error when failing to open a file.
99 - Status view: report failures to update a file.
100 - Blame view: fix problem with uninitialized variable.
101 - Blame view: use line number information when loading blame for
102 specific commit.
103 - Fix handling of quoted strings in the config file.
104 - Fix horizontal scrolling glitches.
106 tig-0.14
107 --------
109 Incompatibilities:
111 - The screen-resize action has been deprecated. It had no real use for
112 users and was never meant to be exposed.
113 - The "tree-parent" action was renamed to "parent". Warnings will be
114 emitted for transition.
115 - Remove parsing of deprecated option -S and subcommands log and diff.
116 - The "author" color replaces "main-author". Setting the latter will
117 now set the "author" color.
119 Improvements:
121 - Horizontal scrolling. Bound to Left/Right by default.
122 - Read tigrc(5) options from git configuration files using the syntax:
124 [tig] show-rev-graph = true
125 [tig "color"] cursor = yellow red bold
126 [tig "bind"] generic = P parent
128 - Tree view: avoid flickering when updating.
129 - Tree view: annotate entries with commit information.
130 - Tree & blob view: open any blob in an editor.
131 - Stage & main view: restore view position when reloading.
132 - Blame view: load blame for parent commit. For merge commits the parent
133 is queried. Bound to ',' by default via the existing "parent" action.
134 - Abbreviate author names to initials when the width of the author column
135 is below 6 characters.
137 Bug fixes:
139 - Tree view: fix memory corruption bug when updating.
140 - Tree view: improve handling of empty trees.
141 - Status view: fix reverting of unmerged files.
142 - Fix regression for non-UTF-8 locales corrupting the view data.
143 - Fix regression parsing multiple spaces in ~/.tigrc.
145 tig-0.13
146 --------
148 Incompatibilities:
150 - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
151 access to shell features, such as subshells and variable expansion.
152 The easiest way to upgrade your configuration is to put such commands
153 in a script file or as a git alias.
155 Improvements:
157 - Display repository references in the sorted order: tags, heads,
158 tracked remotes, remotes.
159 - Add bash completion for blame.
160 - Tree view: edit files of the current branch.
161 - Run requests: new identifiers %(directory), %(file), and %(ref)
162 - Improve responsiveness and view loading speed by using select(2).
164 Bug fixes:
166 - Separate blame revision and file argument by "--" to avoid problems.
167 - Main view: fix redrawing of the last commit wrt. the revision graph.
168 - Fix waiting for input after executing a run request in pager mode.
169 - Status & stage view: refuse to open directories and deleted files.
170 - Tree view: show error when requesting blame for all non-file entries.
171 - Do not draw loading views, which are not displayed.
172 - Fix launching of mergetool from a subdirectory.
174 tig-0.12.1
175 ----------
177 Improvements:
179 - Status view: revert uncommitted diff chunks and unstaged files with
180 changes. Bound to '!' by default.
181 - Main view: use --topo-order also when rev-list arguments are given on
182 the command line.
183 - Log view: support for refreshing.
185 Bug fixes:
187 - Status view: use ls-files' --exclude-standard so user specific ignore
188 rules are effective. The option was added in git version 1.5.4.
189 - Stage view: fix assertion failure triggered when updating while
190 status view is not displayed.
191 - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
192 unbound requests.
193 - Reload repository references when refreshing the main (and log) view.
194 - Do not maximize views when refreshing.
196 tig-0.12
197 --------
199 Improvements:
201 - F5 also refreshes the current view.
202 - Allow line graphics to be disabled with new line-graphics option.
203 - Main view: also include the reference names when searching.
204 - Main view: support for refreshing.
205 - Main view: disable boundary commits by default. Use --boundary when
206 they should be shown. (Debian bug 498628)
207 - Stage view: add stage-next action to jump to next diff chunk that can
208 be staged. By default bound to '@'.
209 - Configure: check for the ncurses header files.
210 - Add author-width option to customize the width of the author column.
211 For example, put the following in ~/.tigrc: set author-width = 10
213 Bug fixes:
215 - Fix regression when staging all diff chunks in a section.
216 - Bind the maximize view action to 'O'; it conflicted with the
217 keybinding to launch the merge tool in the status view.
218 - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
219 installed as /bin/sh does not support it.
220 - Do not show incomplete boundary commits when --no-walk is used.
221 - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
222 - Ignore pipe reads with errno "Success" reported after a signals,
223 for example when refreshing doing background loading.
225 tig-0.11
226 --------
228 Incompatibilities:
230 - Remove parsing of deprecated options: -g, -l, -d.
231 - The first seen '--' will stop option parsing and is passed to git
232 instead of breaking out of tig's option parsing.
234 New features:
236 - Blame view; bound to 'B' by default, reachable from the command line
237 and the tree, status, and stage views.
238 - Blame/main view: allow display of date, author, and references to be
239 toggled on/off. Bound to 'D', 'A', and 'F' respectively.
240 - Add action to maximize the current view.
242 Improvements:
244 - Show the current branch in the status view.
245 - Show local/light-weight tags.
247 Bug fixes:
249 - Fix regressions for the pager mode.
250 - Fix refreshing of the index with working directory info.
252 tig-0.10.1
253 ----------
255 Improvements:
257 - Status view: detect renamed files and show them with 'R'.
258 - Status view: refresh the index to avoid "empty diffs".
259 - Diff view: make diff headers more verbose to include e.g. committer.
260 - Configure: check for the ncursesw library.
262 Bug fixes:
264 - Fix UTF-8 handling for tag names and commit messages.
265 - Fix the check for git-config(1) in configure to handle the case when
266 git has been installed using a libexecdir which is not in the path.
267 - Fix replacing of SYSCONFDIR when installing from released tarballs.
269 tig-0.10
270 ---------
272 Incompatibilities:
274 - Deprecate most tig specific command line options to make tig more
275 compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
276 Use of any of them will result in a warning being printed to stderr.
277 Instead of '-S', use the new 'status' subcommand.
278 - Make man page building depend on DocBook XSL version >= 1.72.0.
279 - Install man pages in $(prefix)/share/man.
280 - Implement the cherry pick action (bound to 'C') using new support for
281 running external commands. This obsoletes the TIG_CHEERY_PICK
282 environment variable
284 New features:
286 - Add support for binding keys to external commands. To bind '.' to
287 running git-commit(1), add the line: "bind generic . !git commit" to
288 your ~/.tigrc. Each command can have replacement string such as
289 %(commit), %(head), and %(blob), which are substituted before the
290 command is run.
291 - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
292 - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
293 user and system-wide configuration files, respectively.
295 Improvements:
297 - Main view: color the revision graph.
298 - Main view: show boundary commits; they are marked with '^' in the
299 revision graph.
300 - Tree view: add tree-parent action to jump to view of the parent tree.
301 Bound to ',' by default.
302 - Allow the default terminal colors to be overwritten. To use black
303 text on white, add the line "color default white black" to your
304 ~/.tigrc.
305 - Misc. documentation improvements.
307 Bug fixes:
309 - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
310 avoid running external diff drivers.
311 - Use --no-color when calling git-log(1).
312 - Fix crash when opening mergetool for lines that are not unmerged.
314 tig-0.9.1
315 ---------
317 Incompatibilities:
319 - Make the clean rule to never remove generated documentation files.
320 Use the distclean rule for accomplishing this.
322 New features:
324 - Add support for cherry-picking commits in the main view to the
325 current branch. Bound to 'C' by default.
327 Improvements:
329 - Add support for launching git-mergetool(1) from the status view.
330 Bound to 'M' by default.
331 - Add support for refreshing/reloading the status view
332 - Detect working trees and disable the status view when it is missing.
334 Bug fixes:
336 - Fix iconv() checking in configure.
337 - Fix editor invocation to make paths relative to the project root.
338 - Fix out-of-range current line when reloading the status view.
339 - Include autoconf files in the tarball generated by `make dist`.
341 tig-0.9
342 -------
344 New features:
346 - Add bash completion script for tig (contrib/tig-completion.bash).
347 - Add optional autoconf-based build infrastructure.
348 - Add stage view for showing changes in the working tree and add
349 support for staging individual diff chunks for commit.
351 Improvements:
353 - Status view: allow all files in a section to be staged for commit.
354 - Status view: Add support for opening files in an editor. Bound to 'e'
355 by default.
356 - Tree view: use a stack for remembering the lines for parent tree.