On Tue, Oct 03, 2023 at 12:52:51AM +0000, Eric Wong wrote: > 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