Code

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