# Meta data available to filters?

1 messages from 2009-08-12 to 2009-08-12. Participants: Peter Krefting.
Thread: https://gitlist.dev/t/20550

## Peter Krefting, 2009-08-12 06:59

Subject: Meta data available to filters?
Message-ID: <alpine.DEB.2.00.0908120755050.30907@ds9.cixit.se>
URL: https://gitlist.dev/e/alpine.DEB.2.00.0908120755050.30907%40ds9.cixit.se

```
Hi!

If I set up a filter, is there a way from my filter script to know the name 
or identity of the file that I am processing?

I get the data on standard in and output the changed data on standard out, 
but is there any way to get access to meta data?


I find the documentation on filters a bit terse. Once I figure out how they 
actually work, I may be inclined to send a documentation patch. A minimum 
would be to document their existence on the git-config manual page (with 
reference to gitattributes), it took me some time to find it :-)

-- 
\\// Peter - http://www.softwolves.pp.se/

```
