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