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