Code

Add support for sorting tree entries by name, date or author
[tig.git] / NEWS
1 Release notes
2 =============
4 tig master
5 ---------
7 Improvements:
9  - Add branch view for choosing which branch to display in the main
10    view. Bound to 'H' by default.
11  - Tree view: sort entries by name, date or author. Toggling is bound to
12    'i' by default, with 'I' controlling whether or not to sort in
13    ascending order.
15 Bug fixes:
17  - Tree view: fix searching.
19 tig-0.14.1
20 ----------
22 Improvements:
24  - Status view: improve "on branch" information inspired by the prompt
25    code in git's bash completion script.
26  - Colors for 256-capable terminals can be specified as colorN.
27  - Entering a number in the prompt will jump to that line number.
28  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
29  - Make behavior of horizontal scrolling configurable by setting the
30    'horizontal-scroll' variable to a number or a percentage. Defaults to
31    scrolling 50% of the view width.
33 Bug fixes:
35  - Status view: show error when failing to open a file.
36  - Status view: report failures to update a file.
37  - Blame view: fix problem with uninitialized variable.
38  - Blame view: use line number information when loading blame for
39    specific commit.
40  - Fix handling of quoted strings in the config file.
41  - Fix horizontal scrolling glitches.
43 tig-0.14
44 --------
46 Incompatibilities:
48  - The screen-resize action has been deprecated. It had no real use for
49    users and was never meant to be exposed.
50  - The "tree-parent" action was renamed to "parent". Warnings will be
51    emitted for transition.
52  - Remove parsing of deprecated option -S and subcommands log and diff.
53  - The "author" color replaces "main-author". Setting the latter will
54    now set the "author" color.
56 Improvements:
58  - Horizontal scrolling. Bound to Left/Right by default.
59  - Read tigrc(5) options from git configuration files using the syntax:
61         [tig] show-rev-graph = true
62         [tig "color"] cursor = yellow red bold 
63         [tig "bind"] generic = P parent
65  - Tree view: avoid flickering when updating.
66  - Tree view: annotate entries with commit information.
67  - Tree & blob view: open any blob in an editor.
68  - Stage & main view: restore view position when reloading.
69  - Blame view: load blame for parent commit. For merge commits the parent
70    is queried. Bound to ',' by default via the existing "parent" action.
71  - Abbreviate author names to initials when the width of the author column
72    is below 6 characters.
74 Bug fixes:
76  - Tree view: fix memory corruption bug when updating.
77  - Tree view: improve handling of empty trees.
78  - Status view: fix reverting of unmerged files.
79  - Fix regression for non-UTF-8 locales corrupting the view data.
80  - Fix regression parsing multiple spaces in ~/.tigrc.
82 tig-0.13
83 --------
85 Incompatibilities:
87  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
88    access to shell features, such as subshells and variable expansion.
89    The easiest way to upgrade your configuration is to put such commands
90    in a script file or as a git alias.
92 Improvements:
94  - Display repository references in the sorted order: tags, heads,
95    tracked remotes, remotes.
96  - Add bash completion for blame.
97  - Tree view: edit files of the current branch.
98  - Run requests: new identifiers %(directory), %(file), and %(ref)
99  - Improve responsiveness and view loading speed by using select(2).
101 Bug fixes:
103  - Separate blame revision and file argument by "--" to avoid problems.
104  - Main view: fix redrawing of the last commit wrt. the revision graph.
105  - Fix waiting for input after executing a run request in pager mode.
106  - Status & stage view: refuse to open directories and deleted files.
107  - Tree view: show error when requesting blame for all non-file entries.
108  - Do not draw loading views, which are not displayed.
109  - Fix launching of mergetool from a subdirectory.
111 tig-0.12.1
112 ----------
114 Improvements:
116  - Status view: revert uncommitted diff chunks and unstaged files with
117    changes. Bound to '!' by default.
118  - Main view: use --topo-order also when rev-list arguments are given on
119    the command line.
120  - Log view: support for refreshing.
122 Bug fixes:
124  - Status view: use ls-files' --exclude-standard so user specific ignore
125    rules are effective. The option was added in git version 1.5.4.
126  - Stage view: fix assertion failure triggered when updating while
127    status view is not displayed.
128  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
129    unbound requests.
130  - Reload repository references when refreshing the main (and log) view.
131  - Do not maximize views when refreshing.
133 tig-0.12
134 --------
136 Improvements:
138  - F5 also refreshes the current view.
139  - Allow line graphics to be disabled with new line-graphics option.
140  - Main view: also include the reference names when searching.
141  - Main view: support for refreshing.
142  - Main view: disable boundary commits by default. Use --boundary when
143    they should be shown. (Debian bug 498628)
144  - Stage view: add stage-next action to jump to next diff chunk that can
145    be staged. By default bound to '@'.
146  - Configure: check for the ncurses header files.
147  - Add author-width option to customize the width of the author column.
148    For example, put the following in ~/.tigrc: set author-width = 10
150 Bug fixes:
152  - Fix regression when staging all diff chunks in a section.
153  - Bind the maximize view action to 'O'; it conflicted with the
154    keybinding to launch the merge tool in the status view.
155  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
156    installed as /bin/sh does not support it.
157  - Do not show incomplete boundary commits when --no-walk is used.
158  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
159  - Ignore pipe reads with errno "Success" reported after a signals,
160    for example when refreshing doing background loading.
162 tig-0.11
163 --------
165 Incompatibilities:
167  - Remove parsing of deprecated options: -g, -l, -d.
168  - The first seen '--' will stop option parsing and is passed to git
169    instead of breaking out of tig's option parsing.
171 New features:
173  - Blame view; bound to 'B' by default, reachable from the command line
174    and the tree, status, and stage views.
175  - Blame/main view: allow display of date, author, and references to be
176    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
177  - Add action to maximize the current view.
179 Improvements:
181  - Show the current branch in the status view.
182  - Show local/light-weight tags.
184 Bug fixes:
186  - Fix regressions for the pager mode.
187  - Fix refreshing of the index with working directory info.
189 tig-0.10.1
190 ----------
192 Improvements:
194  - Status view: detect renamed files and show them with 'R'.
195  - Status view: refresh the index to avoid "empty diffs".
196  - Diff view: make diff headers more verbose to include e.g. committer.
197  - Configure: check for the ncursesw library.
199 Bug fixes:
201  - Fix UTF-8 handling for tag names and commit messages.
202  - Fix the check for git-config(1) in configure to handle the case when
203    git has been installed using a libexecdir which is not in the path.
204  - Fix replacing of SYSCONFDIR when installing from released tarballs.
206 tig-0.10
207 ---------
209 Incompatibilities:
211  - Deprecate most tig specific command line options to make tig more
212    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
213    Use of any of them will result in a warning being printed to stderr.
214    Instead of '-S', use the new 'status' subcommand.
215  - Make man page building depend on DocBook XSL version >= 1.72.0.
216  - Install man pages in $(prefix)/share/man.
217  - Implement the cherry pick action (bound to 'C') using new support for
218    running external commands. This obsoletes the TIG_CHEERY_PICK
219    environment variable
221 New features:
223  - Add support for binding keys to external commands. To bind '.' to
224    running git-commit(1), add the line: "bind generic . !git commit" to
225    your ~/.tigrc. Each command can have replacement string such as
226    %(commit), %(head), and %(blob), which are substituted before the
227    command is run.
228  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
229  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
230    user and system-wide configuration files, respectively.
232 Improvements:
234  - Main view: color the revision graph.
235  - Main view: show boundary commits; they are marked with '^' in the
236    revision graph.
237  - Tree view: add tree-parent action to jump to view of the parent tree.
238    Bound to ',' by default.
239  - Allow the default terminal colors to be overwritten. To use black
240    text on white, add the line "color default white black" to your
241    ~/.tigrc.
242  - Misc. documentation improvements.
244 Bug fixes:
246  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
247    avoid running external diff drivers.
248  - Use --no-color when calling git-log(1).
249  - Fix crash when opening mergetool for lines that are not unmerged.
251 tig-0.9.1
252 ---------
254 Incompatibilities:
256  - Make the clean rule to never remove generated documentation files.
257    Use the distclean rule for accomplishing this.
259 New features:
261  - Add support for cherry-picking commits in the main view to the
262    current branch. Bound to 'C' by default.
264 Improvements:
266  - Add support for launching git-mergetool(1) from the status view.
267    Bound to 'M' by default.
268  - Add support for refreshing/reloading the status view
269  - Detect working trees and disable the status view when it is missing.
271 Bug fixes:
273  - Fix iconv() checking in configure.
274  - Fix editor invocation to make paths relative to the project root.
275  - Fix out-of-range current line when reloading the status view.
276  - Include autoconf files in the tarball generated by `make dist`.
278 tig-0.9
279 -------
281 New features:
283  - Add bash completion script for tig (contrib/tig-completion.bash).
284  - Add optional autoconf-based build infrastructure.
285  - Add stage view for showing changes in the working tree and add
286    support for staging individual diff chunks for commit.
288 Improvements:
290  - Status view: allow all files in a section to be staged for commit.
291  - Status view: Add support for opening files in an editor. Bound to 'e'
292    by default.
293  - Tree view: use a stack for remembering the lines for parent tree.