git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Jean-Baptiste QuenotNext: Jonas Fonseca
Message 4 of 11 in “[tig] Feeding specific revisions to tig”
  1. Jean-Baptiste QuenotJun 4, 2008
  2. Jeff KingJun 4, 2008
  3. Jean-Baptiste QuenotJun 4, 2008
  4. Jeff KingJun 4, 2008
  5. Jonas FonsecaAug 6, 2008
  6. Jeff KingAug 8, 2008
  7. Jonas FonsecaAug 10, 2008
  8. Jean-Baptiste QuenotApr 23, 2009
  9. Jonas FonsecaApr 27, 2009
  10. Jean-Baptiste QuenotApr 28, 2009
  11. Jean-Baptiste QuenotSep 15, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.