Re: [tig] Feeding specific revisions to tig
- From
- Jean-Baptiste Quenot <jbq@caraldi.com>
- Date
- Sep 15, 2011, 15:10 UTC
- Message-ID
- <CAK6bCawiae55q_+E4pWDs_v6V0RLhU97zrw9P1N5j-eCrVSh9w@mail.gmail.com>
- In-Reply-To
- <2c6b72b30904270321t3d73e2c5o5e3ac8d4b627e5ab@mail.gmail.com>
2009/4/27 Jonas Fonseca <jonas.fonseca@gmail.com>:
Show 18 quoted lines
> Sorry for the slow reply ... > > On Thu, Apr 23, 2009 at 16:55, Jean-Baptiste Quenot <jbq@caraldi.com> wrote: >> Restarting this old thread again. Starting from 0.13 the >> *tignowalk()* hack does not work anymore. What's the preferred way to >> feed specific revisions using stdin now? > > I don't know if it is preferred, but it works. First add a git alias: > > [alias] > tignowalk-helper = !git rev-list --pretty=raw --no-walk --stdin< > > Then modify tignowalk by replacing the line calling tig to say: > > TIG_MAIN_CMD="git tignowalk-helper $tmp" tig </dev/tty > > ... and it should work. Maybe more git alias functionality can > simplify the hack.
Restarting this thread again... it seems like every new version of tig breaks this usecase :-)
Any idea how to feed specific revisions to tig 0.18? The trick does not work anymore, as support for TIG_MAIN_CMD was dropped.
-- Jean-Baptiste Quenot