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

Re: Default history simplification

From
Jeff King <peff@peff.net>
Date
Nov 20, 2009, 14:41 UTC
Message-ID
<20091120144146.GC5419@coredump.intra.peff.net>
In-Reply-To
<ae09c2a40911191530y626dd035q90de0212e0b4b6d8@mail.gmail.com>
On Thu, Nov 19, 2009 at 05:30:43PM -0600, Tommy Wang wrote:
Show 7 quoted lines
> I'm working on a small perl script that needs to reproduce the results
> of the default git history simplification used by log & rev-list when
> a list of paths is given.  It is important that I reproduce its
> results exactly.  I would love to simply use the rev-list built-in to
> do my work for me; but I fear that I may have much too many path
> limiters than the linux command-line can handle (which if I'm correct,
> can only take so many arguments).

FYI, Junio just posted a patch for handling pathspec limiting over --stdin, which would solve this problem for you.

  http://article.gmane.org/gmane.comp.version-control.git/133333
-Peff
Previous: Junio C Hamano
Message 4 of 4 in “Default history simplification”
  1. Tommy WangNov 19, 2009
  2. Jan KrügerNov 20, 2009
  3. Junio C HamanoNov 21, 2009
  4. Jeff KingNov 20, 2009

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.