Add support for handling core.worktree
[tig] / NEWS
1 Release notes
2 =============
3
4 tig master
5 ----------
6
7 Improvements:
8
9  - Status view: improve "on branch" information inspired by the prompt
10    code in git's bash completion script.
11  - Colors for 256-capable terminals can be specified as colorN.
12  - Entering a number in the prompt will jump to that line number.
13  - Handle core.worktree by setting GIT_DIR and GIT_WORK_TREE.
14
15 Bug fixes:
16
17  - Blame view: fix problem with uninitialized variable.
18  - Blame view: use line number information when loading blame for
19    specific commit.
20
21 tig-0.14
22 --------
23
24 Incompatibilities:
25
26  - The screen-resize action has been deprecated. It had no real use for
27    users and was never meant to be exposed.
28  - The "tree-parent" action was renamed to "parent". Warnings will be
29    emitted for transition.
30  - Remove parsing of deprecated option -S and subcommands log and diff.
31  - The "author" color replaces "main-author". Setting the latter will
32    now set the "author" color.
33
34 Improvements:
35
36  - Horizontal scrolling. Bound to Left/Right by default.
37  - Read tigrc(5) options from git configuration files using the syntax:
38
39         [tig] show-rev-graph = true
40         [tig "color"] cursor = yellow red bold 
41         [tig "bind"] generic = P parent
42
43  - Tree view: avoid flickering when updating.
44  - Tree view: annotate entries with commit information.
45  - Tree & blob view: open any blob in an editor.
46  - Stage & main view: restore view position when reloading.
47  - Blame view: load blame for parent commit. For merge commits the parent
48    is queried. Bound to ',' by default via the existing "parent" action.
49  - Abbreviate author names to initials when the width of the author column
50    is below 6 characters.
51
52 Bug fixes:
53
54  - Tree view: fix memory corruption bug when updating.
55  - Tree view: improve handling of empty trees.
56  - Status view: fix reverting of unmerged files.
57  - Fix regression for non-UTF-8 locales corrupting the view data.
58  - Fix regression parsing multiple spaces in ~/.tigrc.
59
60 tig-0.13
61 --------
62
63 Incompatibilities:
64
65  - Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
66    access to shell features, such as subshells and variable expansion.
67    The easiest way to upgrade your configuration is to put such commands
68    in a script file.
69
70 Improvements:
71
72  - Display repository references in the sorted order: tags, heads,
73    tracked remotes, remotes.
74  - Add bash completion for blame.
75  - Tree view: edit files of the current branch.
76  - Run requests: new identifiers %(directory), %(file), and %(ref)
77  - Improve responsiveness and view loading speed by using select(2).
78
79 Bug fixes:
80
81  - Separate blame revision and file argument by "--" to avoid problems.
82  - Main view: fix redrawing of the last commit wrt. the revision graph.
83  - Fix waiting for input after executing a run request in pager mode.
84  - Status & stage view: refuse to open directories and deleted files.
85  - Tree view: show error when requesting blame for all non-file entries.
86  - Do not draw loading views, which are not displayed.
87  - Fix launching of mergetool from a subdirectory.
88
89 tig-0.12.1
90 ----------
91
92 Improvements:
93
94  - Status view: revert uncommitted diff chunks and unstaged files with
95    changes. Bound to '!' by default.
96  - Main view: use --topo-order also when rev-list arguments are given on
97    the command line.
98  - Log view: support for refreshing.
99
100 Bug fixes:
101
102  - Status view: use ls-files' --exclude-standard so user specific ignore
103    rules are effective. The option was added in git version 1.5.4.
104  - Stage view: fix assertion failure triggered when updating while
105    status view is not displayed.
106  - Help view: avoid confusion by showing "(no key)" instead of "'?'" for
107    unbound requests.
108  - Reload repository references when refreshing the main (and log) view.
109  - Do not maximize views when refreshing.
110
111 tig-0.12
112 --------
113
114 Improvements:
115
116  - F5 also refreshes the current view.
117  - Allow line graphics to be disabled with new line-graphics option.
118  - Main view: also include the reference names when searching.
119  - Main view: support for refreshing.
120  - Main view: disable boundary commits by default. Use --boundary when
121    they should be shown. (Debian bug 498628)
122  - Stage view: add stage-next action to jump to next diff chunk that can
123    be staged. By default bound to '@'.
124  - Configure: check for the ncurses header files.
125  - Add author-width option to customize the width of the author column.
126    For example, put the following in ~/.tigrc: set author-width = 10
127
128 Bug fixes:
129
130  - Fix regression when staging all diff chunks in a section.
131  - Bind the maximize view action to 'O'; it conflicted with the
132    keybinding to launch the merge tool in the status view.
133  - Fix problem with $(cmd) usage in shell code. Some shells (jsh)
134    installed as /bin/sh does not support it.
135  - Do not show incomplete boundary commits when --no-walk is used.
136  - Documentation: Rename gitlink macro to support AsciiDoc 8.2.3.
137  - Ignore pipe reads with errno "Success" reported after a signals,
138    for example when refreshing doing background loading.
139
140 tig-0.11
141 --------
142
143 Incompatibilities:
144
145  - Remove parsing of deprecated options: -g, -l, -d.
146  - The first seen '--' will stop option parsing and is passed to git
147    instead of breaking out of tig's option parsing.
148
149 New features:
150
151  - Blame view; bound to 'B' by default, reachable from the command line
152    and the tree, status, and stage views.
153  - Blame/main view: allow display of date, author, and references to be
154    toggled on/off. Bound to 'D', 'A', and 'F' respectively.
155  - Add action to maximize the current view.
156
157 Improvements:
158
159  - Show the current branch in the status view.
160  - Show local/light-weight tags.
161
162 Bug fixes:
163
164  - Fix regressions for the pager mode.
165  - Fix refreshing of the index with working directory info.
166
167 tig-0.10.1
168 ----------
169
170 Improvements:
171
172  - Status view: detect renamed files and show them with 'R'.
173  - Status view: refresh the index to avoid "empty diffs".
174  - Diff view: make diff headers more verbose to include e.g. committer.
175  - Configure: check for the ncursesw library.
176
177 Bug fixes:
178
179  - Fix UTF-8 handling for tag names and commit messages.
180  - Fix the check for git-config(1) in configure to handle the case when
181    git has been installed using a libexecdir which is not in the path.
182  - Fix replacing of SYSCONFDIR when installing from released tarballs.
183
184 tig-0.10
185 ---------
186
187 Incompatibilities:
188
189  - Deprecate most tig specific command line options to make tig more
190    compatible with gitk. The deprecated options are: -g, -l, -d, and -S.
191    Use of any of them will result in a warning being printed to stderr.
192    Instead of '-S', use the new 'status' subcommand.
193  - Make man page building depend on DocBook XSL version >= 1.72.0.
194  - Install man pages in $(prefix)/share/man.
195  - Implement the cherry pick action (bound to 'C') using new support for
196    running external commands. This obsoletes the TIG_CHEERY_PICK
197    environment variable
198
199 New features:
200
201  - Add support for binding keys to external commands. To bind '.' to
202    running git-commit(1), add the line: "bind generic . !git commit" to
203    your ~/.tigrc. Each command can have replacement string such as
204    %(commit), %(head), and %(blob), which are substituted before the
205    command is run.
206  - Add system-wide configuration file defaulting to $(prefix)/etc/tigrc.
207  - Add the environment variables TIGRC_USER and TIGRC_SYSTEM to change
208    user and system-wide configuration files, respectively.
209
210 Improvements:
211
212  - Main view: color the revision graph.
213  - Main view: show boundary commits; they are marked with '^' in the
214    revision graph.
215  - Tree view: add tree-parent action to jump to view of the parent tree.
216    Bound to ',' by default.
217  - Allow the default terminal colors to be overwritten. To use black
218    text on white, add the line "color default white black" to your
219    ~/.tigrc.
220  - Misc. documentation improvements.
221
222 Bug fixes:
223
224  - Use git-diff-index(1) and git-diff-files(1) instead of git-diff(1) to
225    avoid running external diff drivers.
226  - Use --no-color when calling git-log(1).
227  - Fix crash when opening mergetool for lines that are not unmerged.
228
229 tig-0.9.1
230 ---------
231
232 Incompatibilities:
233
234  - Make the clean rule to never remove generated documentation files.
235    Use the distclean rule for accomplishing this.
236
237 New features:
238
239  - Add support for cherry-picking commits in the main view to the
240    current branch. Bound to 'C' by default.
241
242 Improvements:
243
244  - Add support for launching git-mergetool(1) from the status view.
245    Bound to 'M' by default.
246  - Add support for refreshing/reloading the status view
247  - Detect working trees and disable the status view when it is missing.
248
249 Bug fixes:
250
251  - Fix iconv() checking in configure.
252  - Fix editor invocation to make paths relative to the project root.
253  - Fix out-of-range current line when reloading the status view.
254  - Include autoconf files in the tarball generated by `make dist`.
255
256 tig-0.9
257 -------
258
259 New features:
260
261  - Add bash completion script for tig (contrib/tig-completion.bash).
262  - Add optional autoconf-based build infrastructure.
263  - Add stage view for showing changes in the working tree and add
264    support for staging individual diff chunks for commit.
265
266 Improvements:
267
268  - Status view: allow all files in a section to be staged for commit.
269  - Status view: Add support for opening files in an editor. Bound to 'e'
270    by default.
271  - Tree view: use a stack for remembering the lines for parent tree.