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

Re: batch-command wishlist [was: [TOPIC 02/12] Libification Goals and Progress]

From
Jeff King <peff@peff.net>
Date
Oct 3, 2023, 20:10 UTC
Message-ID
<20231003201048.GD1562@coredump.intra.peff.net>
In-Reply-To
<20231003005251.M353509@dcvr>
On Tue, Oct 03, 2023 at 12:52:51AM +0000, Eric Wong wrote:
Show 11 quoted lines
> Not sure if cat-file is the place for it, but a persistent
> process to deal with:
> 
> * `git config -f FILENAME ...' (especially --get-urlmatch --type=FOO)
> * approxidate parsing for other tools[2]
>
> [2] I did recently license the code of a standalone C++ executable
>     as GPL-2+ so I can copy approxidate parsing from git and
>     perhaps figure out enough C++ to use Xapian query parser
>     bindings instead of the hacky `git rev-parse --since=' thing
>     I do.

I know that you asked for a persistent process, but just for reference, you can hackily access approxidate with:

  git config --type=expiry-date --default='15 days ago' does.not.exist
-Peff
Previous: Junio C HamanoNext: Eric Wong
Message 3 of 5 in “batch-command wishlist [was: [TOPIC 02/12] Libification Goals and Progress]”
  1. Eric WongOct 3, 2023
  2. Junio C HamanoOct 3, 2023
  3. Jeff KingOct 3, 2023
  4. Eric WongOct 3, 2023
  5. Jeff KingOct 3, 2023

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.