Do not show deleted branch when reloading the branch view
[tig.git] / NEWS
blobdbbb15164125fe9913ec8e63babc6731525e19bb
1 Release notes
2 =============
4 master
5 ------
7 Incompatibilities:
9  - Disable diff move/copy detection by default, boosting diff
10    performance on larger projects. Use git config 'diff.renames' option
11    (git-wide) to set your preferred behavior. Environment variable
12    TIG_DIFF_OPTS can be used to restore the old behavior.
13  - Values set for author-width and filename-width will result in widths
14    one character bigger than previously.
16 Improvements:
18  - Typing a text in the prompt will be interpreted as a tig command.
19    Prefixing the command with a '!' will execute this system command in
20    an external pager. Entering a single key will execute the
21    corresponding key binding.
22  - Basic support for wrapping long line in pager, diff, and stage views.
23    Enable using: `set wrap-lines = yes`. (GH #2)
24  - User-defined commands prefixed with a '?' means prompt before
25    execution. Example: `bind main B !?git rebase -i %(commit)`.
26  - User-defined commands prefixed with a '<' means exit after execution.
27    Example: `bind main C !<git commit`. (GH #66)
28  - User-defined commands are executed unquoted to support shell commands.
29    Example: `bind generic I !@sh -c "echo -n %(commit) | xclip -selection c"`.
30    (GH #65)
31  - Configure case-insensitive searches using: `set ignore-case = yes`.
32  - Add "deleted mode" line type for better diff coloring.
33  - Open editor when requesting edit action from within a file diff.
34  - Update AX_WITH_CURSES to build under Cygwin.
35  - Improve tigrc(5) documentation. (Debian #682766)
36  - Allow to build on Mac OS 10.7 without the configure script. (GH #25)
37  - Add option to split the view vertically instead of horizontally.
38    Example: `set vertical-split = yes'. (GH #76)
39  - Add 'show-id' and 'id-width' options to configure the display of
40    commit IDs in the main view and ID width in the blame view. (GH #77)
41  - Allow to override git-based encoding to UTF-8 by setting
42    'i18n.commitencoding' or 'gui.encoding'.
43  - Improve autobuild support to track generated files and work with
44    autoreconf 2.61.
45  - Commit IDs are read from stdin when --stdin is given; works for main
46    and diff view, e.g. `tig --no-walk --stdin < cherry-picks.txt`.
47  - Add option to disable focusing of the child view when it's opened.
48    Disable using: `set focus-child = no`. (GH #83)
50 Bug fixes:
52  - Fix commit graph regression when a path spec is specified. (GH #53)
53  - Main view: only show staged/unstaged changes for the current branch.
54  - Support submodules created with current version of git. (GH #54)
55  - Fix diff status message for file diffs with no content changes.
56  - Fix parent blaming when tig is launched in subdirectory. (GH #70)
57  - Do not show deleted branch when reloading the branch view.
59 tig-1.0
60 -------
62 The master repository is git://github.com/jonas/tig.git, and the old
63 master repository (http://jonas.nitro.dk/tig/tig.git) will be retired.
65 Improvements:
67  - Use git-log(1)s default commit ordering. The old behavior can be
68    restored by adding `set commit-order = topo` to ~/.tigrc.
69  - Support staging of single lines. Bound to '1' default. (GH #21)
70  - Use +<lineno> to open the initial view at an arbitrary line. (GH #20)
71  - Add show-notes ~/.tigrc option. Notes are displayed by default.
72  - Support jumping to specific SHAs in the main view.
73  - Decorate replaced commits.
74  - Display line numbers in main view.
75  - Colorize binary diff stats. (GH #17)
76  - Custom colorization of lines matching a string prefix (GH #16).
77    Example configuration: color "Reported-by:" green default
78  - Use git's color settings for the main, status and diff views.
79    Put `set read-git-colors = no` in ~/.tigrc to disable.
80  - Handle editor options with multiple arguments. (GH #12)
81  - Show filename when running tig blame with copy detection. (GH #19)
82  - Use 'source <path>' command to load additional files from ~/.tigrc
83  - User-defined commands prefixed with '@' are run with no console
84    output, e.g.
86         bind generic 3 !@rm sys$command
88  - Make display of space changes togglable in the diff and stage view.
89    Bound to 'W' by default.
90  - Use per-file encoding specified in gitattributes(5) for blobs and
91    unstaged files.
92  - Obsolete commit-encoding option and pass --encoding=UTF-8 to revision
93    commands.
94  - Main view: show uncommitted changes as staged/unstaged commits.
95    Can be disabled by putting `set show-changes = no` in ~/.tigrc.
96  - Add %(prompt) external command variable, which will prompt for the
97    argument value.
98  - Log information about git commands when the TIG_TRACE environment
99    variable is set. Example: `TIG_TRACE=/tmp/tig.log tig`
100  - Branch view: Show the title of the last commit.
101  - Increase the author auto-abbreviation threshold to 10. (GH #49)
102  - For old commits show number of years in relative dates. (GH #50)
104 Bug fixes:
106  - Fix navigation behavior when going from branch to main view. (GH #38)
107  - Fix segfault when sorting the tree view by author name.
108  - Fix diff stat navigation for unmodified files with stat changes.
109  - Show branches/refs which names are a substring of the current branch.
110  - Stage view: fix off-by-one error when jumping to a file in a diff
111    with only one file.
112  - Fix diff-header colorization. (GH #15)
113   
114 tig-0.18
115 --------
117 Incompatibilities:
119  - Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD
120    environment variables.
122 Improvements:
124  - Pressing enter on diff stat file lines will jump to file's diff.
125  - Naïvely color blame IDs to distinguish lines.
126  - Document palette color options used for revision graph and blame IDs.
127  - Add support for blaming diff lines.
128  - Add diff-context option and bindings to increase the diff context in
129    the diff and stage view.
130  - (GH-6) Make blame configurable via extra options passed from the command
131    line and blame-options setting from ~/.tigrc. For example:
132    
133         set blame-options = -C -C -C
135 Bug fixes:
137  - Expand browsing state variables for prompt. (LP #694780, Debian #635546)
138  - Fix segfault when sorting the branch view by author.
139  - Expand %(directory) to . for the root directory. (GH-3)
140  - Accept 'utf-8' for the line-graphics option as indicated in the docs.
141  - Use erasechar() to check for the correct backspace character.
143 tig-0.17
144 --------
146 Improvements:
148  - Start rewrite of the revision graph renderer. Three modes are
149    supported UTF-8, ncurses line graphics, and ASCII. Also, enable
150    revision graph rendering by default.
152 Bug fixes:
154  - Fix ncurses 5.8 issue by passing non-zero column size to newwin().
155  - Fix opening of diffs when browsing branches.
157 tig-0.16.2
158 ----------
160 Bug fixes:
162  - Fix regression causing empty tree view.
163  - Fix set_tabsize() compile error for older versions of ncurses.
165 tig-0.16.1
166 ----------
168 Improvements:
170  - Add scroll-first-col action to jump to the first column. Bound to '|'
171    by default.
172  - Add 'status-untracked-dirs' option to ignore unknown directories
173    contents in the status view. On by default.
175 Bug fixes:
177  - Fix 'tig show <commit>' to show the provided commit.
178  - Fix problem with empty diff views when file specs were passed on the
179    command line.
180  - Fix segfault when starting tig in pager mode.
182 tig-0.16
183 --------
185 Incompatibilities:
187  - Encode everything internally as UTF-8. This can affect performance,
188    but should in general improve handling of character lengths etc.
189    Also, to properly handle UTF-8 environments use ncurses with wide
190    character support.
191  - The use of TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables
192    has been deprecated. To allow configuration of the diff view,
193    TIG_DIFF_OPTS can be used.
195 Improvements:
197  - Plug several memory leaks.
198  - Command line arguments are split into diff, revision, and file
199    arguments and made available as %(diffargs), %(revargs), and
200    %(fileargs). Diff view will limit diffs using %(fileargs).
201  - Status view: update the file variable when a line is selected so
202    %(file) works as expected.
203  - Branch view: add %(branch) symbol providing access to the selected
204    branch.
205  - Branch view: add entry to browse all branches (uses git-log's --all
206    flag).
207  - Abbreviation of author names can now be configured and toggled.
208  - Mark detached heads with [HEAD].
209  - Add support for displaying dates in local time.
211 Bug fixes:
213  - Status view: fix usage from sub directories, which was broken by the
214    changes made to support blame view from sub directories.
215  - Fix text expansion to not truncate long lines
216  - Fix parsing of boolean show-date values.
217  - Fix relative date.
218  - Fix unbind to behave as if the keybinding was never defined.
219  - Fix unbind to also cover built-in run requests.
220  - Fix parsing of unknown keymap names.
221  - Blame view: fix parent blame to detect renames. It uses "previous"
222    line info from the blame porcelain output added in git version 1.6.3.
224 tig-0.15
225 --------
227 Incompatibilities:
229  - Setting the cursor color no longer automatically sets the text to
230    bold. The old 'lazy' behavior was a bug.
231  - Remove check for git-repo-config, which was officially deprecated in
232    git version 1.5.4. The configure script no longer depends on git
233    being installed.
235 Improvements:
237  - Provide the manual as a man page named tigmanual(7).
238  - Add ability to toggle between showing shorter dates (without time
239    info) and relative dates. Use 'D' to toggle between date formats.
240  - Show the active (instead of the default) keybindings in the help
241    view. Furthermore, honor the keymap when suggesting actions in the
242    help messages.
243  - Add branch view for choosing which branch to display in the main
244    view. Bound to 'H' by default.
245  - Tree view: show entry to parent directory ('..') when running from
246    subdirectory.
247  - Tree view: sort entries by name, date or author. Toggling is bound to
248    'i' by default, with 'I' controlling whether or not to sort in
249    ascending order.
250  - Make height of the lower view in a split view configurable by setting
251    the 'split-view-height' variable to a number or a percentage.
252    Defaults to 2/3 of the total view height.
253  - Allow multiple text attributes for color commands:
255         color cursor white blue underline bold
257 Bug fixes:
259  - Blame view: fix loading of blame data when opened from the tree view
260    and CWD is not the repo root. (Debian bug 540766)
261  - Tree view: fix searching.
263 tig-0.14.1
264 ----------
266 Improvements:
268  - Status view: improve "on branch" information inspired by the prompt
269    code in git's bash completion script.
270  - Colors for 256-capable terminals can be specified as colorN.
271  - Entering a number in the prompt will jump to that line number.
272  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
273  - Make behavior of horizontal scrolling configurable by setting the
274    'horizontal-scroll' variable to a number or a percentage. Defaults to
275    scrolling 50% of the view width.
277 Bug fixes:
279  - Status view: show error when failing to open a file.
280  - Status view: report failures to update a file.
281  - Blame view: fix problem with uninitialized variable.
282  - Blame view: use line number information when loading blame for
283    specific commit.
284  - Fix handling of quoted strings in the config file.
285  - Fix horizontal scrolling glitches.
287 tig-0.14
288 --------
290 Incompatibilities:
292  - The screen-resize action has been deprecated. It had no real use for
293    users and was never meant to be exposed.
294  - The "tree-parent" action was renamed to "parent". Warnings will be
295    emitted for transition.
296  - Remove parsing of deprecated option -S and subcommands log and diff.
297  - The "author" color replaces "main-author". Setting the latter will
298    now set the "author" color.
300 Improvements:
302  - Horizontal scrolling. Bound to Left/Right by default.
303  - Read tigrc(5) options from git configuration files using the syntax:
305         [tig] show-rev-graph = true
306         [tig "color"] cursor = yellow red bold 
307         [tig "bind"] generic = P parent
309  - Tree view: avoid flickering when updating.
310  - Tree view: annotate entries with commit information.
311  - Tree & blob view: open any blob in an editor.
312  - Stage & main view: restore view position when reloading.
313  - Blame view: load blame for parent commit. For merge commits the parent
314    is queried. Bound to ',' by default via the existing "parent" action.
315  - Abbreviate author names to initials when the width of the author column
316    is below 6 characters.
318 Bug fixes:
320  - Tree view: fix memory corruption bug when updating.
321  - Tree view: improve handling of empty trees.
322  - Status view: fix reverting of unmerged files.
323  - Fix regression for non-UTF-8 locales corrupting the view data.
324  - Fix regression parsing multiple spaces in ~/.tigrc.
326 tig-0.13
327 --------
329 Incompatibilities:
331  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
332    access to shell features, such as subshells and variable expansion.
333    The easiest way to upgrade your configuration is to put such commands
334    in a script file or as a git alias.
336 Improvements:
338  - Display repository references in the sorted order: tags, heads,
339    tracked remotes, remotes.
340  - Add bash completion for blame.
341  - Tree view: edit files of the current branch.
342  - Run requests: new identifiers %(directory), %(file), and %(ref)
343  - Improve responsiveness and view loading speed by using select(2).
345 Bug fixes:
347  - Separate blame revision and file argument by "--" to avoid problems.
348  - Main view: fix redrawing of the last commit wrt. the revision graph.
349  - Fix waiting for input after executing a run request in pager mode.
350  - Status & stage view: refuse to open directories and deleted files.
351  - Tree view: show error when requesting blame for all non-file entries.
352  - Do not draw loading views, which are not displayed.
353  - Fix launching of mergetool from a subdirectory.
355 tig-0.12.1
356 ----------
358 Improvements:
360  - Status view: revert uncommitted diff chunks and unstaged files with
361    changes. Bound to '!' by default.
362  - Main view: use --topo-order also when rev-list arguments are given on
363    the command line.
364  - Log view: support for refreshing.
366 Bug fixes:
368  - Status view: use ls-files' --exclude-standard so user specific ignore
369    rules are effective. The option was added in git version 1.5.4.
370  - Stage view: fix assertion failure triggered when updating while
371    status view is not displayed.
372  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
373    unbound requests.
374  - Reload repository references when refreshing the main (and log) view.
375  - Do not maximize views when refreshing.
377 tig-0.12
378 --------
380 Improvements:
382  - F5 also refreshes the current view.
383  - Allow line graphics to be disabled with new line-graphics option.
384  - Main view: also include the reference names when searching.
385  - Main view: support for refreshing.
386  - Main view: disable boundary commits by default. Use --boundary when
387    they should be shown. (Debian bug 498628)
388  - Stage view: add stage-next action to jump to next diff chunk that can
389    be staged. By default bound to '@'.
390  - Configure: check for the ncurses header files.
391  - Add author-width option to customize the width of the author column.
392    For example, put the following in ~/.tigrc: set author-width = 10
394 Bug fixes:
396  - Fix regression when staging all diff chunks in a section.
397  - Bind the maximize view action to 'O'; it conflicted with the
398    keybinding to launch the merge tool in the status view.
399  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
400    installed as /bin/sh does not support it.
401  - Do not show incomplete boundary commits when --no-walk is used.
402  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
403  - Ignore pipe reads with errno "Success" reported after a signals,
404    for example when refreshing doing background loading.
406 tig-0.11
407 --------
409 Incompatibilities:
411  - Remove parsing of deprecated options: -g, -l, -d.
412  - The first seen '--' will stop option parsing and is passed to git
413    instead of breaking out of tig's option parsing.
415 New features:
417  - Blame view; bound to 'B' by default, reachable from the command line
418    and the tree, status, and stage views.
419  - Blame/main view: allow display of date, author, and references to be
420    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
421  - Add action to maximize the current view.
423 Improvements:
425  - Show the current branch in the status view.
426  - Show local/light-weight tags.
428 Bug fixes:
430  - Fix regressions for the pager mode.
431  - Fix refreshing of the index with working directory info.
433 tig-0.10.1
434 ----------
436 Improvements:
438  - Status view: detect renamed files and show them with 'R'.
439  - Status view: refresh the index to avoid "empty diffs".
440  - Diff view: make diff headers more verbose to include e.g. committer.
441  - Configure: check for the ncursesw library.
443 Bug fixes:
445  - Fix UTF-8 handling for tag names and commit messages.
446  - Fix the check for git-config(1) in configure to handle the case when
447    git has been installed using a libexecdir which is not in the path.
448  - Fix replacing of SYSCONFDIR when installing from released tarballs.
450 tig-0.10
451 ---------
453 Incompatibilities:
455  - Deprecate most tig specific command line options to make tig more
456    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
457    Use of any of them will result in a warning being printed to stderr.
458    Instead of '-S', use the new 'status' subcommand.
459  - Make man page building depend on DocBook XSL version >= 1.72.0.
460  - Install man pages in $(prefix)/share/man.
461  - Implement the cherry pick action (bound to 'C') using new support for
462    running external commands. This obsoletes the TIG_CHEERY_PICK
463    environment variable
465 New features:
467  - Add support for binding keys to external commands. To bind '.' to
468    running git-commit(1), add the line: "bind generic . !git commit" to
469    your ~/.tigrc. Each command can have replacement string such as
470    %(commit), %(head), and %(blob), which are substituted before the
471    command is run.
472  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
473  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
474    user and system-wide configuration files, respectively.
476 Improvements:
478  - Main view: color the revision graph.
479  - Main view: show boundary commits; they are marked with '^' in the
480    revision graph.
481  - Tree view: add tree-parent action to jump to view of the parent tree.
482    Bound to ',' by default.
483  - Allow the default terminal colors to be overwritten. To use black
484    text on white, add the line "color default white black" to your
485    ~/.tigrc.
486  - Misc. documentation improvements.
488 Bug fixes:
490  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
491    avoid running external diff drivers.
492  - Use --no-color when calling git-log(1).
493  - Fix crash when opening mergetool for lines that are not unmerged.
495 tig-0.9.1
496 ---------
498 Incompatibilities:
500  - Make the clean rule to never remove generated documentation files.
501    Use the distclean rule for accomplishing this.
503 New features:
505  - Add support for cherry-picking commits in the main view to the
506    current branch. Bound to 'C' by default.
508 Improvements:
510  - Add support for launching git-mergetool(1) from the status view.
511    Bound to 'M' by default.
512  - Add support for refreshing/reloading the status view
513  - Detect working trees and disable the status view when it is missing.
515 Bug fixes:
517  - Fix iconv() checking in configure.
518  - Fix editor invocation to make paths relative to the project root.
519  - Fix out-of-range current line when reloading the status view.
520  - Include autoconf files in the tarball generated by `make dist`.
522 tig-0.9
523 -------
525 New features:
527  - Add bash completion script for tig (contrib/tig-completion.bash).
528  - Add optional autoconf-based build infrastructure.
529  - Add stage view for showing changes in the working tree and add
530    support for staging individual diff chunks for commit.
532 Improvements:
534  - Status view: allow all files in a section to be staged for commit.
535  - Status view: Add support for opening files in an editor. Bound to 'e'
536    by default.
537  - Tree view: use a stack for remembering the lines for parent tree.