From: Jeff King <peff@peff.net>
To: Eric Wong <e@80x24.org>
Cc: git@vger.kernel.org, Junio C Hamano <gitster@pobox.com>,
Taylor Blau <me@ttaylorr.com>
Subject: Re: batch-command wishlist [was: [TOPIC 02/12] Libification Goals and Progress]
Date: Tue, 3 Oct 2023 16:10:48 -0400 [thread overview]
Message-ID: <20231003201048.GD1562@coredump.intra.peff.net> (raw)
In-Reply-To: <20231003005251.M353509@dcvr>
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
next prev parent reply other threads:[~2023-10-03 20:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-03 0:52 batch-command wishlist [was: [TOPIC 02/12] Libification Goals and Progress] Eric Wong
2023-10-03 16:15 ` Junio C Hamano
2023-10-03 20:10 ` Jeff King [this message]
2023-10-03 20:31 ` Eric Wong
2023-10-03 20:32 ` Jeff King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231003201048.GD1562@coredump.intra.peff.net \
--to=peff@peff.net \
--cc=e@80x24.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=me@ttaylorr.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).