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