Thread (9 messages) flat view 9 messages, 4 authors, 2016-06-17

Re: [PATCH 2/4] add smudge-to-file and clean-from-file filter configuration

From: Eric Sunshine <hidden>
Date: 2016-06-17 06:05:48

On Thu, Jun 16, 2016 at 4:32 PM, Joey Hess [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
---
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.
s/clean/smudge/
+       See linkgit:gitattributes[5] for details.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help