Code

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