git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Randall S. Becker" <rsbecker@nexbridge.com>
To: <git@vger.kernel.org>
Subject: [RFE] Teach git textconv to support %f
Date: Tue, 8 Jun 2021 11:38:33 -0400	[thread overview]
Message-ID: <01f901d75c7c$5a8bcb10$0fa36130$@nexbridge.com> (raw)

The filter structure provides a mechanism for providing the working directory's file name path to a filter using a %f argument. This
request is to teach the textconv mechanism to support the same capability.

The use case comes from a complex content renderer that needs to know what the original file name is, so as to be able to find
additional content, by name, that describes the file (base name+different extension).

If this is considered a good idea, I would be happy to implement this but need a pointer or two of where to look in the code to make
it happen.

Thanks,
Randall


-- Brief whoami:
 NonStop developer since approximately 211288444200000000
 UNIX developer since approximately 421664400
-- In my real life, I talk too much.



             reply	other threads:[~2021-06-08 15:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-08 15:38 Randall S. Becker [this message]
2021-06-09  0:42 ` [RFE] Teach git textconv to support %f Junio C Hamano
2021-06-09  4:11   ` Jeff King
2021-06-09 14:16     ` Randall S. Becker

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='01f901d75c7c$5a8bcb10$0fa36130$@nexbridge.com' \
    --to=rsbecker@nexbridge.com \
    --cc=git@vger.kernel.org \
    /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).