Show the title of the last commit in the branch view
[tig.git] / NEWS
blob8711bcde6facda8e252d241e6735c8bcdd37121f
1 Release notes
2 =============
4 master
5 ------
7 The master repository is git://github.com/jonas/tig.git, and the old
8 master repository (http://jonas.nitro.dk/tig/tig.git) will be retired.
10 Improvements:
12  - Use git-log(1)s default commit ordering. The old behavior can be
13    restored by adding `set commit-order = topo` to ~/.tigrc.
14  - Support staging of single lines. Bound to '1' default. (GH #21)
15  - Use +<lineno> to open the initial view at an arbitrary line. (GH #20)
16  - Add show-notes ~/.tigrc option. Notes are displayed by default.
17  - Support jumping to specific SHAs in the main view.
18  - Decorate replaced commits.
19  - Display line numbers in main view.
20  - Colorize binary diff stats. (GH #17)
21  - Custom colorization of lines matching a string prefix (GH #16).
22    Example configuration: color "Reported-by:" green default
23  - Use git's color settings for the main, status and diff views.
24    Put `set read-git-colors = no` in ~/.tigrc to disable.
25  - Handle editor options with multiple arguments. (GH #12)
26  - Show filename when running tig blame with copy detection. (GH #19)
27  - Use 'source <path>' command to load additional files from ~/.tigrc
28  - User-defined commands prefixed with '@' are run with no console
29    output, e.g.
31         bind generic 3 !@rm sys$command
33  - Make display of space changes togglable in the diff and stage view.
34    Bound to 'W' by default.
35  - Use per-file encoding specified in gitattributes(5) for blobs and
36    unstaged files.
37  - Obsolete commit-encoding option and pass --encoding=UTF-8 to revision
38    commands.
39  - Main view: show uncommitted changes as staged/unstaged commits.
40    Can be disabled by putting `set show-changes = no` in ~/.tigrc.
41  - Add %(prompt) external command variable, which will prompt for the
42    argument value.
43  - Log information about git commands when the TIG_TRACE environment
44    variable is set. Example: `TIG_TRACE=/tmp/tig.log tig`
45  - Branch view: Show the title of the last commit.
47 Bug fixes:
49  - Fix navigation behavior when going from branch to main view. (GH #38)
50  - Fix segfault when sorting the tree view by author name.
51  - Fix diff stat navigation for unmodified files with stat changes.
52  - Show branches/refs which names are a substring of the current branch.
53  - Stage view: fix off-by-one error when jumping to a file in a diff
54    with only one file.
55  - Fix diff-header colorization. (GH #15)
56   
57 tig-0.18
58 --------
60 Incompatibilities:
62  - Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD
63    environment variables.
65 Improvements:
67  - Pressing enter on diff stat file lines will jump to file's diff.
68  - Naïvely color blame IDs to distinguish lines.
69  - Document palette color options used for revision graph and blame IDs.
70  - Add support for blaming diff lines.
71  - Add diff-context option and bindings to increase the diff context in
72    the diff and stage view.
73  - (GH-6) Make blame configurable via extra options passed from the command
74    line and blame-options setting from ~/.tigrc. For example:
75    
76         set blame-options = -C -C -C
78 Bug fixes:
80  - Expand browsing state variables for prompt. (LP #694780, Debian #635546)
81  - Fix segfault when sorting the branch view by author.
82  - Expand %(directory) to . for the root directory. (GH-3)
83  - Accept 'utf-8' for the line-graphics option as indicated in the docs.
84  - Use erasechar() to check for the correct backspace character.
86 tig-0.17
87 --------
89 Improvements:
91  - Start rewrite of the revision graph renderer. Three modes are
92    supported UTF-8, ncurses line graphics, and ASCII. Also, enable
93    revision graph rendering by default.
95 Bug fixes:
97  - Fix ncurses 5.8 issue by passing non-zero column size to newwin().
98  - Fix opening of diffs when browsing branches.
100 tig-0.16.2
101 ----------
103 Bug fixes:
105  - Fix regression causing empty tree view.
106  - Fix set_tabsize() compile error for older versions of ncurses.
108 tig-0.16.1
109 ----------
111 Improvements:
113  - Add scroll-first-col action to jump to the first column. Bound to '|'
114    by default.
115  - Add 'status-untracked-dirs' option to ignore unknown directories
116    contents in the status view. On by default.
118 Bug fixes:
120  - Fix 'tig show <commit>' to show the provided commit.
121  - Fix problem with empty diff views when file specs were passed on the
122    command line.
123  - Fix segfault when starting tig in pager mode.
125 tig-0.16
126 --------
128 Incompatibilities:
130  - Encode everything internally as UTF-8. This can affect performance,
131    but should in general improve handling of character lengths etc.
132    Also, to properly handle UTF-8 environments use ncurses with wide
133    character support.
134  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
135    has been deprecated. To allow configuration of the diff view,
136    TIG_DIFF_OPTS can be used.
138 Improvements:
140  - Plug several memory leaks.
141  - Command line arguments are split into diff, revision, and file
142    arguments and made available as %(diffargs), %(revargs), and
143    %(fileargs). Diff view will limit diffs using %(fileargs).
144  - Status view: update the file variable when a line is selected so
145    %(file) works as expected.
146  - Branch view: add %(branch) symbol providing access to the selected
147    branch.
148  - Branch view: add entry to browse all branches (uses git-log's --all
149    flag).
150  - Abbreviation of author names can now be configured and toggled.
151  - Mark detached heads with [HEAD].
152  - Add support for displaying dates in local time.
154 Bug fixes:
156  - Status view: fix usage from sub directories, which was broken by the
157    changes made to support blame view from sub directories.
158  - Fix text expansion to not truncate long lines
159  - Fix parsing of boolean show-date values.
160  - Fix relative date.
161  - Fix unbind to behave as if the keybinding was never defined.
162  - Fix unbind to also cover built-in run requests.
163  - Fix parsing of unknown keymap names.
164  - Blame view: fix parent blame to detect renames. It uses "previous"
165    line info from the blame porcelain output added in git version 1.6.3.
167 tig-0.15
168 --------
170 Incompatibilities:
172  - Setting the cursor color no longer automatically sets the text to
173    bold. The old 'lazy' behavior was a bug.
174  - Remove check for git-repo-config, which was officially deprecated in
175    git version 1.5.4. The configure script no longer depends on git
176    being installed.
178 Improvements:
180  - Provide the manual as a man page named tigmanual(7).
181  - Add ability to toggle between showing shorter dates (without time
182    info) and relative dates. Use 'D' to toggle between date formats.
183  - Show the active (instead of the default) keybindings in the help
184    view. Furthermore, honor the keymap when suggesting actions in the
185    help messages.
186  - Add branch view for choosing which branch to display in the main
187    view. Bound to 'H' by default.
188  - Tree view: show entry to parent directory ('..') when running from
189    subdirectory.
190  - Tree view: sort entries by name, date or author. Toggling is bound to
191    'i' by default, with 'I' controlling whether or not to sort in
192    ascending order.
193  - Make height of the lower view in a split view configurable by setting
194    the 'split-view-height' variable to a number or a percentage.
195    Defaults to 2/3 of the total view height.
196  - Allow multiple text attributes for color commands:
198         color cursor white blue underline bold
200 Bug fixes:
202  - Blame view: fix loading of blame data when opened from the tree view
203    and CWD is not the repo root. (Debian bug 540766)
204  - Tree view: fix searching.
206 tig-0.14.1
207 ----------
209 Improvements:
211  - Status view: improve "on branch" information inspired by the prompt
212    code in git's bash completion script.
213  - Colors for 256-capable terminals can be specified as colorN.
214  - Entering a number in the prompt will jump to that line number.
215  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
216  - Make behavior of horizontal scrolling configurable by setting the
217    'horizontal-scroll' variable to a number or a percentage. Defaults to
218    scrolling 50% of the view width.
220 Bug fixes:
222  - Status view: show error when failing to open a file.
223  - Status view: report failures to update a file.
224  - Blame view: fix problem with uninitialized variable.
225  - Blame view: use line number information when loading blame for
226    specific commit.
227  - Fix handling of quoted strings in the config file.
228  - Fix horizontal scrolling glitches.
230 tig-0.14
231 --------
233 Incompatibilities:
235  - The screen-resize action has been deprecated. It had no real use for
236    users and was never meant to be exposed.
237  - The "tree-parent" action was renamed to "parent". Warnings will be
238    emitted for transition.
239  - Remove parsing of deprecated option -S and subcommands log and diff.
240  - The "author" color replaces "main-author". Setting the latter will
241    now set the "author" color.
243 Improvements:
245  - Horizontal scrolling. Bound to Left/Right by default.
246  - Read tigrc(5) options from git configuration files using the syntax:
248         [tig] show-rev-graph = true
249         [tig "color"] cursor = yellow red bold 
250         [tig "bind"] generic = P parent
252  - Tree view: avoid flickering when updating.
253  - Tree view: annotate entries with commit information.
254  - Tree & blob view: open any blob in an editor.
255  - Stage & main view: restore view position when reloading.
256  - Blame view: load blame for parent commit. For merge commits the parent
257    is queried. Bound to ',' by default via the existing "parent" action.
258  - Abbreviate author names to initials when the width of the author column
259    is below 6 characters.
261 Bug fixes:
263  - Tree view: fix memory corruption bug when updating.
264  - Tree view: improve handling of empty trees.
265  - Status view: fix reverting of unmerged files.
266  - Fix regression for non-UTF-8 locales corrupting the view data.
267  - Fix regression parsing multiple spaces in ~/.tigrc.
269 tig-0.13
270 --------
272 Incompatibilities:
274  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
275    access to shell features, such as subshells and variable expansion.
276    The easiest way to upgrade your configuration is to put such commands
277    in a script file or as a git alias.
279 Improvements:
281  - Display repository references in the sorted order: tags, heads,
282    tracked remotes, remotes.
283  - Add bash completion for blame.
284  - Tree view: edit files of the current branch.
285  - Run requests: new identifiers %(directory), %(file), and %(ref)
286  - Improve responsiveness and view loading speed by using select(2).
288 Bug fixes:
290  - Separate blame revision and file argument by "--" to avoid problems.
291  - Main view: fix redrawing of the last commit wrt. the revision graph.
292  - Fix waiting for input after executing a run request in pager mode.
293  - Status & stage view: refuse to open directories and deleted files.
294  - Tree view: show error when requesting blame for all non-file entries.
295  - Do not draw loading views, which are not displayed.
296  - Fix launching of mergetool from a subdirectory.
298 tig-0.12.1
299 ----------
301 Improvements:
303  - Status view: revert uncommitted diff chunks and unstaged files with
304    changes. Bound to '!' by default.
305  - Main view: use --topo-order also when rev-list arguments are given on
306    the command line.
307  - Log view: support for refreshing.
309 Bug fixes:
311  - Status view: use ls-files' --exclude-standard so user specific ignore
312    rules are effective. The option was added in git version 1.5.4.
313  - Stage view: fix assertion failure triggered when updating while
314    status view is not displayed.
315  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
316    unbound requests.
317  - Reload repository references when refreshing the main (and log) view.
318  - Do not maximize views when refreshing.
320 tig-0.12
321 --------
323 Improvements:
325  - F5 also refreshes the current view.
326  - Allow line graphics to be disabled with new line-graphics option.
327  - Main view: also include the reference names when searching.
328  - Main view: support for refreshing.
329  - Main view: disable boundary commits by default. Use --boundary when
330    they should be shown. (Debian bug 498628)
331  - Stage view: add stage-next action to jump to next diff chunk that can
332    be staged. By default bound to '@'.
333  - Configure: check for the ncurses header files.
334  - Add author-width option to customize the width of the author column.
335    For example, put the following in ~/.tigrc: set author-width = 10
337 Bug fixes:
339  - Fix regression when staging all diff chunks in a section.
340  - Bind the maximize view action to 'O'; it conflicted with the
341    keybinding to launch the merge tool in the status view.
342  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
343    installed as /bin/sh does not support it.
344  - Do not show incomplete boundary commits when --no-walk is used.
345  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
346  - Ignore pipe reads with errno "Success" reported after a signals,
347    for example when refreshing doing background loading.
349 tig-0.11
350 --------
352 Incompatibilities:
354  - Remove parsing of deprecated options: -g, -l, -d.
355  - The first seen '--' will stop option parsing and is passed to git
356    instead of breaking out of tig's option parsing.
358 New features:
360  - Blame view; bound to 'B' by default, reachable from the command line
361    and the tree, status, and stage views.
362  - Blame/main view: allow display of date, author, and references to be
363    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
364  - Add action to maximize the current view.
366 Improvements:
368  - Show the current branch in the status view.
369  - Show local/light-weight tags.
371 Bug fixes:
373  - Fix regressions for the pager mode.
374  - Fix refreshing of the index with working directory info.
376 tig-0.10.1
377 ----------
379 Improvements:
381  - Status view: detect renamed files and show them with 'R'.
382  - Status view: refresh the index to avoid "empty diffs".
383  - Diff view: make diff headers more verbose to include e.g. committer.
384  - Configure: check for the ncursesw library.
386 Bug fixes:
388  - Fix UTF-8 handling for tag names and commit messages.
389  - Fix the check for git-config(1) in configure to handle the case when
390    git has been installed using a libexecdir which is not in the path.
391  - Fix replacing of SYSCONFDIR when installing from released tarballs.
393 tig-0.10
394 ---------
396 Incompatibilities:
398  - Deprecate most tig specific command line options to make tig more
399    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
400    Use of any of them will result in a warning being printed to stderr.
401    Instead of '-S', use the new 'status' subcommand.
402  - Make man page building depend on DocBook XSL version >= 1.72.0.
403  - Install man pages in $(prefix)/share/man.
404  - Implement the cherry pick action (bound to 'C') using new support for
405    running external commands. This obsoletes the TIG_CHEERY_PICK
406    environment variable
408 New features:
410  - Add support for binding keys to external commands. To bind '.' to
411    running git-commit(1), add the line: "bind generic . !git commit" to
412    your ~/.tigrc. Each command can have replacement string such as
413    %(commit), %(head), and %(blob), which are substituted before the
414    command is run.
415  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
416  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
417    user and system-wide configuration files, respectively.
419 Improvements:
421  - Main view: color the revision graph.
422  - Main view: show boundary commits; they are marked with '^' in the
423    revision graph.
424  - Tree view: add tree-parent action to jump to view of the parent tree.
425    Bound to ',' by default.
426  - Allow the default terminal colors to be overwritten. To use black
427    text on white, add the line "color default white black" to your
428    ~/.tigrc.
429  - Misc. documentation improvements.
431 Bug fixes:
433  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
434    avoid running external diff drivers.
435  - Use --no-color when calling git-log(1).
436  - Fix crash when opening mergetool for lines that are not unmerged.
438 tig-0.9.1
439 ---------
441 Incompatibilities:
443  - Make the clean rule to never remove generated documentation files.
444    Use the distclean rule for accomplishing this.
446 New features:
448  - Add support for cherry-picking commits in the main view to the
449    current branch. Bound to 'C' by default.
451 Improvements:
453  - Add support for launching git-mergetool(1) from the status view.
454    Bound to 'M' by default.
455  - Add support for refreshing/reloading the status view
456  - Detect working trees and disable the status view when it is missing.
458 Bug fixes:
460  - Fix iconv() checking in configure.
461  - Fix editor invocation to make paths relative to the project root.
462  - Fix out-of-range current line when reloading the status view.
463  - Include autoconf files in the tarball generated by `make dist`.
465 tig-0.9
466 -------
468 New features:
470  - Add bash completion script for tig (contrib/tig-completion.bash).
471  - Add optional autoconf-based build infrastructure.
472  - Add stage view for showing changes in the working tree and add
473    support for staging individual diff chunks for commit.
475 Improvements:
477  - Status view: allow all files in a section to be staged for commit.
478  - Status view: Add support for opening files in an editor. Bound to 'e'
479    by default.
480  - Tree view: use a stack for remembering the lines for parent tree.