Fix regression to not handle non-symbolic-ref during rebase action
[tig.git] / NEWS
blobc29dc3f295cdf6ab93ca328e5f657e5b84e32bac
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`
46 Bug fixes:
48  - Fix navigation behavior when going from branch to main view. (GH #38)
49  - Fix segfault when sorting the tree view by author name.
50  - Fix diff stat navigation for unmodified files with stat changes.
51  - Show branches/refs which names are a substring of the current branch.
52  - Stage view: fix off-by-one error when jumping to a file in a diff
53    with only one file.
54  - Fix diff-header colorization. (GH #15)
55   
56 tig-0.18
57 --------
59 Incompatibilities:
61  - Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD
62    environment variables.
64 Improvements:
66  - Pressing enter on diff stat file lines will jump to file's diff.
67  - Naïvely color blame IDs to distinguish lines.
68  - Document palette color options used for revision graph and blame IDs.
69  - Add support for blaming diff lines.
70  - Add diff-context option and bindings to increase the diff context in
71    the diff and stage view.
72  - (GH-6) Make blame configurable via extra options passed from the command
73    line and blame-options setting from ~/.tigrc. For example:
74    
75         set blame-options = -C -C -C
77 Bug fixes:
79  - Expand browsing state variables for prompt. (LP #694780, Debian #635546)
80  - Fix segfault when sorting the branch view by author.
81  - Expand %(directory) to . for the root directory. (GH-3)
82  - Accept 'utf-8' for the line-graphics option as indicated in the docs.
83  - Use erasechar() to check for the correct backspace character.
85 tig-0.17
86 --------
88 Improvements:
90  - Start rewrite of the revision graph renderer. Three modes are
91    supported UTF-8, ncurses line graphics, and ASCII. Also, enable
92    revision graph rendering by default.
94 Bug fixes:
96  - Fix ncurses 5.8 issue by passing non-zero column size to newwin().
97  - Fix opening of diffs when browsing branches.
99 tig-0.16.2
100 ----------
102 Bug fixes:
104  - Fix regression causing empty tree view.
105  - Fix set_tabsize() compile error for older versions of ncurses.
107 tig-0.16.1
108 ----------
110 Improvements:
112  - Add scroll-first-col action to jump to the first column. Bound to '|'
113    by default.
114  - Add 'status-untracked-dirs' option to ignore unknown directories
115    contents in the status view. On by default.
117 Bug fixes:
119  - Fix 'tig show <commit>' to show the provided commit.
120  - Fix problem with empty diff views when file specs were passed on the
121    command line.
122  - Fix segfault when starting tig in pager mode.
124 tig-0.16
125 --------
127 Incompatibilities:
129  - Encode everything internally as UTF-8. This can affect performance,
130    but should in general improve handling of character lengths etc.
131    Also, to properly handle UTF-8 environments use ncurses with wide
132    character support.
133  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
134    has been deprecated. To allow configuration of the diff view,
135    TIG_DIFF_OPTS can be used.
137 Improvements:
139  - Plug several memory leaks.
140  - Command line arguments are split into diff, revision, and file
141    arguments and made available as %(diffargs), %(revargs), and
142    %(fileargs). Diff view will limit diffs using %(fileargs).
143  - Status view: update the file variable when a line is selected so
144    %(file) works as expected.
145  - Branch view: add %(branch) symbol providing access to the selected
146    branch.
147  - Branch view: add entry to browse all branches (uses git-log's --all
148    flag).
149  - Abbreviation of author names can now be configured and toggled.
150  - Mark detached heads with [HEAD].
151  - Add support for displaying dates in local time.
153 Bug fixes:
155  - Status view: fix usage from sub directories, which was broken by the
156    changes made to support blame view from sub directories.
157  - Fix text expansion to not truncate long lines
158  - Fix parsing of boolean show-date values.
159  - Fix relative date.
160  - Fix unbind to behave as if the keybinding was never defined.
161  - Fix unbind to also cover built-in run requests.
162  - Fix parsing of unknown keymap names.
163  - Blame view: fix parent blame to detect renames. It uses "previous"
164    line info from the blame porcelain output added in git version 1.6.3.
166 tig-0.15
167 --------
169 Incompatibilities:
171  - Setting the cursor color no longer automatically sets the text to
172    bold. The old 'lazy' behavior was a bug.
173  - Remove check for git-repo-config, which was officially deprecated in
174    git version 1.5.4. The configure script no longer depends on git
175    being installed.
177 Improvements:
179  - Provide the manual as a man page named tigmanual(7).
180  - Add ability to toggle between showing shorter dates (without time
181    info) and relative dates. Use 'D' to toggle between date formats.
182  - Show the active (instead of the default) keybindings in the help
183    view. Furthermore, honor the keymap when suggesting actions in the
184    help messages.
185  - Add branch view for choosing which branch to display in the main
186    view. Bound to 'H' by default.
187  - Tree view: show entry to parent directory ('..') when running from
188    subdirectory.
189  - Tree view: sort entries by name, date or author. Toggling is bound to
190    'i' by default, with 'I' controlling whether or not to sort in
191    ascending order.
192  - Make height of the lower view in a split view configurable by setting
193    the 'split-view-height' variable to a number or a percentage.
194    Defaults to 2/3 of the total view height.
195  - Allow multiple text attributes for color commands:
197         color cursor white blue underline bold
199 Bug fixes:
201  - Blame view: fix loading of blame data when opened from the tree view
202    and CWD is not the repo root. (Debian bug 540766)
203  - Tree view: fix searching.
205 tig-0.14.1
206 ----------
208 Improvements:
210  - Status view: improve "on branch" information inspired by the prompt
211    code in git's bash completion script.
212  - Colors for 256-capable terminals can be specified as colorN.
213  - Entering a number in the prompt will jump to that line number.
214  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
215  - Make behavior of horizontal scrolling configurable by setting the
216    'horizontal-scroll' variable to a number or a percentage. Defaults to
217    scrolling 50% of the view width.
219 Bug fixes:
221  - Status view: show error when failing to open a file.
222  - Status view: report failures to update a file.
223  - Blame view: fix problem with uninitialized variable.
224  - Blame view: use line number information when loading blame for
225    specific commit.
226  - Fix handling of quoted strings in the config file.
227  - Fix horizontal scrolling glitches.
229 tig-0.14
230 --------
232 Incompatibilities:
234  - The screen-resize action has been deprecated. It had no real use for
235    users and was never meant to be exposed.
236  - The "tree-parent" action was renamed to "parent". Warnings will be
237    emitted for transition.
238  - Remove parsing of deprecated option -S and subcommands log and diff.
239  - The "author" color replaces "main-author". Setting the latter will
240    now set the "author" color.
242 Improvements:
244  - Horizontal scrolling. Bound to Left/Right by default.
245  - Read tigrc(5) options from git configuration files using the syntax:
247         [tig] show-rev-graph = true
248         [tig "color"] cursor = yellow red bold 
249         [tig "bind"] generic = P parent
251  - Tree view: avoid flickering when updating.
252  - Tree view: annotate entries with commit information.
253  - Tree & blob view: open any blob in an editor.
254  - Stage & main view: restore view position when reloading.
255  - Blame view: load blame for parent commit. For merge commits the parent
256    is queried. Bound to ',' by default via the existing "parent" action.
257  - Abbreviate author names to initials when the width of the author column
258    is below 6 characters.
260 Bug fixes:
262  - Tree view: fix memory corruption bug when updating.
263  - Tree view: improve handling of empty trees.
264  - Status view: fix reverting of unmerged files.
265  - Fix regression for non-UTF-8 locales corrupting the view data.
266  - Fix regression parsing multiple spaces in ~/.tigrc.
268 tig-0.13
269 --------
271 Incompatibilities:
273  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
274    access to shell features, such as subshells and variable expansion.
275    The easiest way to upgrade your configuration is to put such commands
276    in a script file or as a git alias.
278 Improvements:
280  - Display repository references in the sorted order: tags, heads,
281    tracked remotes, remotes.
282  - Add bash completion for blame.
283  - Tree view: edit files of the current branch.
284  - Run requests: new identifiers %(directory), %(file), and %(ref)
285  - Improve responsiveness and view loading speed by using select(2).
287 Bug fixes:
289  - Separate blame revision and file argument by "--" to avoid problems.
290  - Main view: fix redrawing of the last commit wrt. the revision graph.
291  - Fix waiting for input after executing a run request in pager mode.
292  - Status & stage view: refuse to open directories and deleted files.
293  - Tree view: show error when requesting blame for all non-file entries.
294  - Do not draw loading views, which are not displayed.
295  - Fix launching of mergetool from a subdirectory.
297 tig-0.12.1
298 ----------
300 Improvements:
302  - Status view: revert uncommitted diff chunks and unstaged files with
303    changes. Bound to '!' by default.
304  - Main view: use --topo-order also when rev-list arguments are given on
305    the command line.
306  - Log view: support for refreshing.
308 Bug fixes:
310  - Status view: use ls-files' --exclude-standard so user specific ignore
311    rules are effective. The option was added in git version 1.5.4.
312  - Stage view: fix assertion failure triggered when updating while
313    status view is not displayed.
314  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
315    unbound requests.
316  - Reload repository references when refreshing the main (and log) view.
317  - Do not maximize views when refreshing.
319 tig-0.12
320 --------
322 Improvements:
324  - F5 also refreshes the current view.
325  - Allow line graphics to be disabled with new line-graphics option.
326  - Main view: also include the reference names when searching.
327  - Main view: support for refreshing.
328  - Main view: disable boundary commits by default. Use --boundary when
329    they should be shown. (Debian bug 498628)
330  - Stage view: add stage-next action to jump to next diff chunk that can
331    be staged. By default bound to '@'.
332  - Configure: check for the ncurses header files.
333  - Add author-width option to customize the width of the author column.
334    For example, put the following in ~/.tigrc: set author-width = 10
336 Bug fixes:
338  - Fix regression when staging all diff chunks in a section.
339  - Bind the maximize view action to 'O'; it conflicted with the
340    keybinding to launch the merge tool in the status view.
341  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
342    installed as /bin/sh does not support it.
343  - Do not show incomplete boundary commits when --no-walk is used.
344  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
345  - Ignore pipe reads with errno "Success" reported after a signals,
346    for example when refreshing doing background loading.
348 tig-0.11
349 --------
351 Incompatibilities:
353  - Remove parsing of deprecated options: -g, -l, -d.
354  - The first seen '--' will stop option parsing and is passed to git
355    instead of breaking out of tig's option parsing.
357 New features:
359  - Blame view; bound to 'B' by default, reachable from the command line
360    and the tree, status, and stage views.
361  - Blame/main view: allow display of date, author, and references to be
362    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
363  - Add action to maximize the current view.
365 Improvements:
367  - Show the current branch in the status view.
368  - Show local/light-weight tags.
370 Bug fixes:
372  - Fix regressions for the pager mode.
373  - Fix refreshing of the index with working directory info.
375 tig-0.10.1
376 ----------
378 Improvements:
380  - Status view: detect renamed files and show them with 'R'.
381  - Status view: refresh the index to avoid "empty diffs".
382  - Diff view: make diff headers more verbose to include e.g. committer.
383  - Configure: check for the ncursesw library.
385 Bug fixes:
387  - Fix UTF-8 handling for tag names and commit messages.
388  - Fix the check for git-config(1) in configure to handle the case when
389    git has been installed using a libexecdir which is not in the path.
390  - Fix replacing of SYSCONFDIR when installing from released tarballs.
392 tig-0.10
393 ---------
395 Incompatibilities:
397  - Deprecate most tig specific command line options to make tig more
398    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
399    Use of any of them will result in a warning being printed to stderr.
400    Instead of '-S', use the new 'status' subcommand.
401  - Make man page building depend on DocBook XSL version >= 1.72.0.
402  - Install man pages in $(prefix)/share/man.
403  - Implement the cherry pick action (bound to 'C') using new support for
404    running external commands. This obsoletes the TIG_CHEERY_PICK
405    environment variable
407 New features:
409  - Add support for binding keys to external commands. To bind '.' to
410    running git-commit(1), add the line: "bind generic . !git commit" to
411    your ~/.tigrc. Each command can have replacement string such as
412    %(commit), %(head), and %(blob), which are substituted before the
413    command is run.
414  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
415  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
416    user and system-wide configuration files, respectively.
418 Improvements:
420  - Main view: color the revision graph.
421  - Main view: show boundary commits; they are marked with '^' in the
422    revision graph.
423  - Tree view: add tree-parent action to jump to view of the parent tree.
424    Bound to ',' by default.
425  - Allow the default terminal colors to be overwritten. To use black
426    text on white, add the line "color default white black" to your
427    ~/.tigrc.
428  - Misc. documentation improvements.
430 Bug fixes:
432  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
433    avoid running external diff drivers.
434  - Use --no-color when calling git-log(1).
435  - Fix crash when opening mergetool for lines that are not unmerged.
437 tig-0.9.1
438 ---------
440 Incompatibilities:
442  - Make the clean rule to never remove generated documentation files.
443    Use the distclean rule for accomplishing this.
445 New features:
447  - Add support for cherry-picking commits in the main view to the
448    current branch. Bound to 'C' by default.
450 Improvements:
452  - Add support for launching git-mergetool(1) from the status view.
453    Bound to 'M' by default.
454  - Add support for refreshing/reloading the status view
455  - Detect working trees and disable the status view when it is missing.
457 Bug fixes:
459  - Fix iconv() checking in configure.
460  - Fix editor invocation to make paths relative to the project root.
461  - Fix out-of-range current line when reloading the status view.
462  - Include autoconf files in the tarball generated by `make dist`.
464 tig-0.9
465 -------
467 New features:
469  - Add bash completion script for tig (contrib/tig-completion.bash).
470  - Add optional autoconf-based build infrastructure.
471  - Add stage view for showing changes in the working tree and add
472    support for staging individual diff chunks for commit.
474 Improvements:
476  - Status view: allow all files in a section to be staged for commit.
477  - Status view: Add support for opening files in an editor. Bound to 'e'
478    by default.
479  - Tree view: use a stack for remembering the lines for parent tree.