From: Johannes Sixt <j.sixt@viscovery.net>
To: "Todd A. Jacobs" <nospam@codegnome.org>
Cc: git@vger.kernel.org
Subject: Re: Integrating with hooks
Date: Thu, 15 Nov 2007 08:57:42 +0100 [thread overview]
Message-ID: <473BFBF6.7070902@viscovery.net> (raw)
In-Reply-To: <20071115011837.GD32746@penguin.codegnome.org>
Todd A. Jacobs schrieb:
> On Wed, Nov 14, 2007 at 12:07:29AM +0100, Jakub Narebski wrote:
>
>> Take a look at gitattributes(5), namely 'filter' attribute.
>
> Thanks, I took a look at the man page you suggested. The "ident" feature
> almost does what I want, but doesn't seem to take any sort of format
> string. So, I thought I'd explore "filter," but can't really find any
> examples of how to implement the smudge and clean commands, which seem
> to be what I'm really trying to do here.
A clean and smudge filter processes one file at a time. It reads the old
content from stdin and writes the result to stdout.
There is a tiny example in the test suite, t/t0021-conversion.sh, look for
rot13.sh.
-- Hannes
prev parent reply other threads:[~2007-11-15 7:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-13 17:37 Integrating with hooks Todd A. Jacobs
2007-11-13 23:07 ` Jakub Narebski
2007-11-15 1:18 ` Todd A. Jacobs
2007-11-15 1:43 ` Jakub Narebski
2007-11-15 1:43 ` Johannes Schindelin
2007-11-15 7:57 ` Johannes Sixt [this message]
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=473BFBF6.7070902@viscovery.net \
--to=j.sixt@viscovery.net \
--cc=git@vger.kernel.org \
--cc=nospam@codegnome.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.