Re: [tig] Feeding specific revisions to tig
- From
Jeff King <peff@peff.net>
- Date
- Jun 4, 2008, 23:08 UTC
- Message-ID
- <20080604230858.GA27136@sigill.intra.peff.net>
- In-Reply-To
- <ae63f8b50806041304i20de789ej492681f4b9306934@mail.gmail.com>
On Wed, Jun 04, 2008 at 10:04:45PM +0200, Jean-Baptiste Quenot wrote:
Show 8 quoted lines
> Thanks for the suggestion. However, my list of commits is too long, > the shell errors out with "tig: command too long". I'd like to feed > tig with a list of commits from stdin, or from a file. > > Something like: ... | tig --no-walk -F - > > Which means: take the list of revisions from specified file, or here - > for stdin, a la grep.
Ah. Adding "-F" probably wouldn't be that much work, but tig spawns "git log" internally, so you would probably end up with the same problem there. Converting tig to use "git rev-list --stdin" would fix that, but is probably a bit of major surgery.
-Peff