git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFE] Teach git textconv to support %f
@ 2021-06-08 15:38 Randall S. Becker
  2021-06-09  0:42 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Randall S. Becker @ 2021-06-08 15:38 UTC (permalink / raw)
  To: git

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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-09 14:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-08 15:38 [RFE] Teach git textconv to support %f Randall S. Becker
2021-06-09  0:42 ` Junio C Hamano
2021-06-09  4:11   ` Jeff King
2021-06-09 14:16     ` Randall S. Becker

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).