Re: [PATCH 2/4] add smudge-to-file and clean-from-file filter configuration
On Thu, Jun 16, 2016 at 4:32 PM, Joey Hess <joeyh@joeyh.name> wrote:
Show 20 quoted lines
> This adds new smudge-to-file and clean-from-file filter commands,
> which are similar to smudge and clean but allow direct access to files on
> disk.
> [...]
> Signed-off-by: Joey Hess <joeyh@joeyh.name>
> ---
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> @@ -1299,14 +1299,29 @@ format.useAutoBase::
> +filter.<driver>.clean-from-file::
> + Optional command which is used on checkin to convert the content
> + of a worktree file, which can be read from disk, to a blob
> + (written to stdout).
> + Only used when filter.<driver>.clean is also configured.
> + See linkgit:gitattributes[5] for details.
> +
> +filter.<driver>.smudge-to-file::
> + Optional command which is used to convert the content of a blob
> + object (provided on stdin) to a worktree file, writing directly
> + to the file.
> + Only used when filter.<driver>.clean is also configured.
> + See linkgit:gitattributes[5] for details.