{"thread":{"id":"20550","subject":"Meta data available to filters?","startedAt":"2009-08-12T06:59:00Z","lastAt":"2009-08-12T06:59:00Z","messageCount":1,"participants":["Peter Krefting"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"120380","messageId":"alpine.DEB.2.00.0908120755050.30907@ds9.cixit.se","threadId":"20550","inReplyTo":null,"subject":"Meta data available to filters?","fromName":"Peter Krefting","fromEmail":"peter@softwolves.pp.se","sentAt":"2009-08-12T06:59:00Z","receivedAt":"2009-08-12T06:59:00Z","isPatch":false,"sender":{"key":"peter@softwolves.pp.se","avatar":"https://avatars.githubusercontent.com/u/990764?v=4"},"body":"Hi!\n\nIf I set up a filter, is there a way from my filter script to know the name \nor identity of the file that I am processing?\n\nI get the data on standard in and output the changed data on standard out, \nbut is there any way to get access to meta data?\n\n\nI find the documentation on filters a bit terse. Once I figure out how they \nactually work, I may be inclined to send a documentation patch. A minimum \nwould be to document their existence on the git-config manual page (with \nreference to gitattributes), it took me some time to find it :-)\n\n-- \n\\\\// Peter - http://www.softwolves.pp.se/\n"}]}