* [ANNOUNCE] tig-0.15
@ 2009-11-20 13:31 Jonas Fonseca
2009-11-20 13:50 ` bill lam
0 siblings, 1 reply; 8+ messages in thread
From: Jonas Fonseca @ 2009-11-20 13:31 UTC (permalink / raw)
To: git
Hello,
After a long time of silence, here is a brand new version of tig with
changes that has accummulated since version 0.14.1. It mainly brings
minor improvements for tweaking tig usage via keybindings and options.
Thanks to everybody who provided patches.
What is tig?
------------
Tig is an ncurses-based text-mode interface for git. It functions mainly
as a git repository browser, but can also assist in staging changes for
commit at chunk level and act as a pager for output from various git
commands.
- Homepage: http://jonas.nitro.dk/tig/
- Manual: http://jonas.nitro.dk/tig/manual.html
- Tarballs: http://jonas.nitro.dk/tig/releases/
- Git URL: git://repo.or.cz/tig.git
- Gitweb: http://repo.or.cz/w/tig.git
Release notes
-------------
Incompatibilities:
- Setting the cursor color no longer automatically sets the text to
bold. The old 'lazy' behavior was a bug.
- Remove check for git-repo-config, which was officially deprecated in
git version 1.5.4. The configure script no longer depends on git
being installed.
Improvements:
- Provide the manual as a man page named tigmanual(7).
- Add ability to toggle between showing shorter dates (without time
info) and relative dates. Use 'D' to toggle between date formats.
- Show the active (instead of the default) keybindings in the help
view. Furthermore, honor the keymap when suggesting actions in the
help messages.
- Add branch view for choosing which branch to display in the main
view. Bound to 'H' by default.
- Tree view: show entry to parent directory ('..') when running from
subdirectory.
- Tree view: sort entries by name, date or author. Toggling is bound to
'i' by default, with 'I' controlling whether or not to sort in
ascending order.
- Make height of the lower view in a split view configurable by setting
the 'split-view-height' variable to a number or a percentage.
Defaults to 2/3 of the total view height.
- Allow multiple text attributes for color commands:
color cursor white blue underline bold
Bug fixes:
- Blame view: fix loading of blame data when opened from the tree view
and CWD is not the repo root. (Debian bug 540766)
- Tree view: fix searching.
Change summary
--------------
The diffstat and log summary for changes made in this release.
.gitignore | 1 +
INSTALL | 40 +-
Makefile | 13 +-
NEWS | 39 ++
TODO | 3 -
VERSION | 2 +-
configure.ac | 7 -
contrib/aspell.dict | 8 +-
manual.txt | 249 ++++----
tig.1.txt | 2 +-
tig.c | 1549 ++++++++++++++++++++++++++++++-------------
tigmanual.7.txt | 20 +
tigrc.5.txt | 365 +++++------
13 files changed, 1497 insertions(+), 801 deletions(-)
Giuseppe Bilotta (2):
Fix previous/next with branch+main view
Predefined external command: git commit
Ingmar Vanhassel (1):
Makefile: Fix typo in 157ebf54
Jeff King (1):
Add missing NULL in blame_grep
Jonas Fonseca (40):
Add small cache for author names to reduce memory foot-print
Reduce memory and startup time by storing author times as time_t
Simplify searching in view lines by defining grep_text utility
Define a tree_grep and fixing searching
Make the granular allocators more customizable using macros
Remove the need for alloc variables
Define an allocator for run requests
Update the current branch information when reloading all references
Fix a potential problem with reading tokens larger then BUFSIZ
Add primitive branch view
Minor fix to always sort even if allocation fails in get_refs
Use temporary variable in refs loop in main_draw
Branch view: fix loading to handle when two branches have same commit
Add support for sorting tree entries by name, date or author
Add support for sorting branch entries by name, date and author
Fix reloading of references to not cause access to freed memory
Restore the branch view position after refreshing
Add simple support for showing menues and use it for showing option menu
Use menus with the commit subject to present selectable commit parents
Fix memory allocation check in open_commit_parent_menu
Manual: document that :<number> jumps to the line number
Remove macros which are only used for default option values
Allow multiple text attributes for color commands
Build with asciidoc-8.4.5
Show the active (instead of the default) keybindings in the help view
Merge remote branch 'samb/short-dates'
NEWS: Mention date-shorten feature
Add support for displaying relative dates
Fix draw_date to not format anything when time arg is NULL
Fix loading of blame data when opened from the tree view
NEWS: Improve bug fix description
Update asciidoc table syntax to the one supported by version 8.4.4
tigmanual(7): provide the manual as a man page
Remove build dependency on git from the configure script
begin_update: simplify control flow
run_io_dir: take dir argument
run_io_rd_dir: obsolete by switching call sites to run_io_rd_dir
io_open: take path as a vararg format
Status view: special case revert of unmerged entries with no physical file
tig-0.15
Samuel Bronson (1):
Add an option (and toggle) for shortening the date column by skipping the time.
Sebastian Harl (1):
Fixed some uninitialized variable warnings
Tilo Schwarz (1):
Make height of split view configurable
bill lam (1):
Fix whitespace
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-20 13:31 [ANNOUNCE] tig-0.15 Jonas Fonseca
@ 2009-11-20 13:50 ` bill lam
2009-11-20 15:55 ` Jonas Fonseca
0 siblings, 1 reply; 8+ messages in thread
From: bill lam @ 2009-11-20 13:50 UTC (permalink / raw)
To: Jonas Fonseca; +Cc: git
On Fri, 20 Nov 2009, Jonas Fonseca wrote:
> Build with asciidoc-8.4.5
..
> Update asciidoc table syntax to the one supported by version 8.4.4
sciidoc -aversion=0.15-dirty -asysconfdir=/usr/etc -b docbook -d manpage tigmanual.7.txt
FAILED: /home/bill/src/tig/manual.txt: line 314: illegal [paradef-default] options: header: header
make: *** [tigmanual.7.xml] Error 1
May be the asciidoc 8.2.7 in debian lenny is not new enough. make install-doc
failed with the above message. Any workaround other than upgrading asciidoc ?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-20 13:50 ` bill lam
@ 2009-11-20 15:55 ` Jonas Fonseca
2009-11-20 16:25 ` bill lam
0 siblings, 1 reply; 8+ messages in thread
From: Jonas Fonseca @ 2009-11-20 15:55 UTC (permalink / raw)
To: bill lam; +Cc: git
On Fri, Nov 20, 2009 at 08:50, bill lam <cbill.lam@gmail.com> wrote:
> On Fri, 20 Nov 2009, Jonas Fonseca wrote:
>> Build with asciidoc-8.4.5
> ..
>> Update asciidoc table syntax to the one supported by version 8.4.4
>
> sciidoc -aversion=0.15-dirty -asysconfdir=/usr/etc -b docbook -d manpage tigmanual.7.txt
> FAILED: /home/bill/src/tig/manual.txt: line 314: illegal [paradef-default] options: header: header
> make: *** [tigmanual.7.xml] Error 1
>
> May be the asciidoc 8.2.7 in debian lenny is not new enough. make install-doc
> failed with the above message. Any workaround other than upgrading asciidoc ?
No, not if you want to build the man pages yourself.
How about adding a script or a make rule to optionally install man
pages from the release branch. For example:
install-release-doc-man:
for doc in $(MANDOC); do \
git checkout origin/release $$doc; \
done
$(MAKE) install-doc-man
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-20 15:55 ` Jonas Fonseca
@ 2009-11-20 16:25 ` bill lam
2009-11-21 2:29 ` Jonas Fonseca
0 siblings, 1 reply; 8+ messages in thread
From: bill lam @ 2009-11-20 16:25 UTC (permalink / raw)
To: Jonas Fonseca; +Cc: git
On Fri, 20 Nov 2009, Jonas Fonseca wrote:
> install-release-doc-man:
> for doc in $(MANDOC); do \
> git checkout origin/release $$doc; \
> done
> $(MAKE) install-doc-man
Thanks it works. Could you also commit this to git?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-20 16:25 ` bill lam
@ 2009-11-21 2:29 ` Jonas Fonseca
2009-11-21 3:58 ` bill lam
2009-11-21 4:10 ` bill lam
0 siblings, 2 replies; 8+ messages in thread
From: Jonas Fonseca @ 2009-11-21 2:29 UTC (permalink / raw)
To: bill lam; +Cc: git
On Fri, Nov 20, 2009 at 11:25, bill lam <cbill.lam@gmail.com> wrote:
> On Fri, 20 Nov 2009, Jonas Fonseca wrote:
>> install-release-doc-man:
>> for doc in $(MANDOC); do \
>> git checkout origin/release $$doc; \
>> done
>> $(MAKE) install-doc-man
>
> Thanks it works. Could you also commit this to git?
Done, but using git-checkout-index ...
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-21 2:29 ` Jonas Fonseca
@ 2009-11-21 3:58 ` bill lam
2009-11-21 13:59 ` Jonas Fonseca
2009-11-21 4:10 ` bill lam
1 sibling, 1 reply; 8+ messages in thread
From: bill lam @ 2009-11-21 3:58 UTC (permalink / raw)
To: Jonas Fonseca; +Cc: git
On Fri, 20 Nov 2009, Jonas Fonseca wrote:
> On Fri, Nov 20, 2009 at 11:25, bill lam <cbill.lam@gmail.com> wrote:
> > On Fri, 20 Nov 2009, Jonas Fonseca wrote:
> >> install-release-doc-man:
> >> for doc in $(MANDOC); do \
> >> git checkout origin/release $$doc; \
> >> done
> >> $(MAKE) install-doc-man
> >
> > Thanks it works. Could you also commit this to git?
>
> Done, but using git-checkout-index ...
the line
git read-tree release
raised error perhaps I didn't checkout a branch for it, replacing it
with
git read-tree origin/relase
or
git read-tree remotes/origin/relase
seems working.
Another question, while it can open a file with editor in tree-view, I
cannot find in tigmanual how to directly save a file. Any idea?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-21 2:29 ` Jonas Fonseca
2009-11-21 3:58 ` bill lam
@ 2009-11-21 4:10 ` bill lam
1 sibling, 0 replies; 8+ messages in thread
From: bill lam @ 2009-11-21 4:10 UTC (permalink / raw)
To: Jonas Fonseca; +Cc: git
Sorry, typo 's/relase/release/'
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [ANNOUNCE] tig-0.15
2009-11-21 3:58 ` bill lam
@ 2009-11-21 13:59 ` Jonas Fonseca
0 siblings, 0 replies; 8+ messages in thread
From: Jonas Fonseca @ 2009-11-21 13:59 UTC (permalink / raw)
To: bill lam; +Cc: git
On Fri, Nov 20, 2009 at 22:58, bill lam <cbill.lam@gmail.com> wrote:
> On Fri, 20 Nov 2009, Jonas Fonseca wrote:
>> On Fri, Nov 20, 2009 at 11:25, bill lam <cbill.lam@gmail.com> wrote:
>> > On Fri, 20 Nov 2009, Jonas Fonseca wrote:
>> >> install-release-doc-man:
>> >> for doc in $(MANDOC); do \
>> >> git checkout origin/release $$doc; \
>> >> done
>> >> $(MAKE) install-doc-man
>> >
>> > Thanks it works. Could you also commit this to git?
>>
>> Done, but using git-checkout-index ...
> the line
> git read-tree release
> raised error perhaps I didn't checkout a branch for it, replacing it
> with
> git read-tree origin/relase
> or
> git read-tree remotes/origin/relase
>
> seems working.
Ah, stupid me.
> Another question, while it can open a file with editor in tree-view, I
> cannot find in tigmanual how to directly save a file. Any idea?
There is no such action/keybinding. I guess it should be easy to
extend the current functionality to query for a file name and save to
that instead of a temporary file.
--
Jonas Fonseca
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2009-11-21 13:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-20 13:31 [ANNOUNCE] tig-0.15 Jonas Fonseca
2009-11-20 13:50 ` bill lam
2009-11-20 15:55 ` Jonas Fonseca
2009-11-20 16:25 ` bill lam
2009-11-21 2:29 ` Jonas Fonseca
2009-11-21 3:58 ` bill lam
2009-11-21 13:59 ` Jonas Fonseca
2009-11-21 4:10 ` bill lam
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.