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