Re: [tig] Feeding specific revisions to tig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2009/4/27 Jonas Fonseca <jonas.fonseca@xxxxxxxxx>:

> On Thu, Apr 23, 2009 at 16:55, Jean-Baptiste Quenot <jbq@xxxxxxxxxxx> 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.

Works a treat, thanks!

I wonder how you managed to invent this trick though :-)
-- 
Jean-Baptiste Quenot
http://jbq.caraldi.com/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]