From: Jonas Fonseca <hidden> Date: 2016-06-15 22:45:56
Hello,
This release contains a major rewrite of the IO layer of tig to use
fork+exec instead of popen() and remove use of stdio's fopen() and
friends. The new IO API removes the need for shell quoting and improves
the overall speed of loading view data. On the downside, it brings a few
incompatibilities wrt. commands given via the environment. While the
patch series began by being based on git's run-command.c module, the
final version contains no code from git.
The release also brings a few new features, such as new identifiers for
use in external commands as well as a handful of bug fixes.
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:
- Commands from the environment (e.g. TIG_MAIN_CMD) will no longer have
access to shell features, such as subshells and variable expansion.
The easiest way to upgrade your configuration is to put such commands
in a script file.
Improvements:
- Display repository references in the sorted order: tags, heads,
tracked remotes, remotes.
- Add bash completion for blame.
- Tree view: edit files of the current branch.
- Run requests: new identifiers %(directory), %(file), and %(ref)
- Improve responsiveness and view loading speed by using select(2).
Bug fixes:
- Separate blame revision and file argument by "--" to avoid problems.
- Main view: fix redrawing of the last commit wrt. the revision graph.
- Fix waiting for input after executing a run request in pager mode.
- Status & stage view: refuse to open directories and deleted files.
- Tree view: show error when requesting blame for all non-file entries.
- Do not draw loading views, which are not displayed.
- Fix launching of mergetool from a subdirectory.
Change summary
--------------
The diffstat and log summary for changes made in this release.
NEWS | 29 +
VERSION | 2 +-
contrib/announcement.sh | 2 +-
contrib/tig-completion.bash | 25 +-
manual.txt | 281 ++++---
tig.1.txt | 6 +-
tig.c | 1774 +++++++++++++++++++++--------------
tigrc.5.txt | 23 +-
8 files changed, 1325 insertions(+), 817 deletions(-)
53 Jonas Fonseca
--
Jonas Fonseca
--
Ted Pavlic [off-list ref]
Please visit my ALS association page:
http://web.alsa.org/goto/tedpavlic
My family appreciates your support in the fight to defeat ALS.
Tig is an ncurses-based text-mode interface for git. It functions mainly
The Makefile does not link to the unicode version ncursesw, does it
still work for wide characters?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩264 王昌齡 芙蓉樓送辛漸
寒雨連江夜入吳 平明送客楚山孤 洛陽親友如相問 一片冰心在玉壺
From: Jonas Fonseca <hidden> Date: 2016-06-15 22:45:57
bill lam [off-list ref] wrote Thu, Jan 15, 2009:
On Wed, 14 Jan 2009, Jonas Fonseca wrote:
quoted
Tig is an ncurses-based text-mode interface for git. It functions mainly
The Makefile does not link to the unicode version ncursesw, does it
still work for wide characters?
Yes, it works. You can either create a file called config.make with a
line saying:
LDLIBS = -lncursesw
or use the configure file. If you are not using the tarball generate it
with:
make configure
--
Jonas Fonseca
Yes, it works. You can either create a file called config.make with a
line saying:
LDLIBS = -lncursesw
or use the configure file. If you are not using the tarball generate it
with:
make configure
I use the git source. Even after make configure and ./configure, it
still links to the non-unicode ncurses. Should it make ncursesw as
default if detected available albeit this can be changed manually?
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩319 李白 清平調三首之三
名花傾國兩相歡 常得君王帶笑看 解釋春風無限恨 沈香亭北倚闌干
From: Jonas Fonseca <hidden> Date: 2016-06-15 22:45:57
bill lam [off-list ref] wrote Thu, Jan 15, 2009:
On Thu, 15 Jan 2009, Jonas Fonseca wrote:
quoted
Yes, it works. You can either create a file called config.make with a
line saying:
LDLIBS = -lncursesw
or use the configure file. If you are not using the tarball generate it
with:
make configure
I use the git source. Even after make configure and ./configure, it
still links to the non-unicode ncurses.
I haven't tested the configure script on a lot of system, so it might be
a bit debian/ubuntu/gentoo centered in that use of ncursesw requires the
presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
unicode ncurses.h files found on your system?
Should it make ncursesw as
default if detected available albeit this can be changed manually?
I would prefer that the "default" (running make without configure) has
as few dependencies as possible. Since the unicode version of ncurses is
probably more rare than the non-unicode version it is probably a bad
idea to use ncursesw by default. However, if you use the configure
script ncursesw is the default, when it is available.
--
Jonas Fonseca
presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
unicode ncurses.h files found on your system?
on ubuntu,
/usr/incude/ncursesw/curses.h
/usr/incude/ncursesw/ncurses.h ( just a sym link to curses.h above )
You should send the output of ./configure, and publish the resulting
config.log file somewhere.
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Man is certainly stark mad; he cannot make a flea, yet he makes gods by the
dozens.
-- Michel de Montaigne
From: Jonas Fonseca <hidden> Date: 2016-06-15 22:45:57
bill lam [off-list ref] wrote Thu, Jan 15, 2009:
On Thu, 15 Jan 2009, Jonas Fonseca wrote:
quoted
presence of a {/usr/incude/}ncursesw/ncurses.h header. Where are the
unicode ncurses.h files found on your system?
on ubuntu,
/usr/incude/ncursesw/curses.h
/usr/incude/ncursesw/ncurses.h ( just a sym link to curses.h above )
Then I am puzzled why the configure script doesn't find it. Can you send
me your config.log and the output of running configure. Maybe off-list.
--
Jonas Fonseca
Then I am puzzled why the configure script doesn't find it. Can you send
me your config.log and the output of running configure. Maybe off-list.
I just delete everything and do a git reset --hard, ./configure does
detect ncursesw and link to it. I'm not sure my previous error was
resulted from config cache. I ldd tig and confirm indeed it linked to
the unicode version.
Sorry for the noise. m(__)m
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩019 孟浩然 夏日南亭懷辛大
山光忽西落 池月漸東上 散髮乘夜涼 開軒臥閑敞 荷風送香氣 竹露滴清響
欲取鳴琴彈 恨無知音賞 感此懷故人 中宵勞夢想