As discussed in this thread: http://thread.gmane.org/gmane.comp.version-control.git/294425 This adds smudge-to-file and clean-from-file commands supplimenting the smudge and clean filters.
This interface can be much more efficient when operating on large files, because the whole file content does not need to be streamed through the filter. It even allows for things like clean-from-file commands that avoid reading the whole content of the file, and for smudge-to-file commands that populate a work tree file using an efficient Copy On Write operation. Joey Hess (4): clarify %f documentation add smudge-to-file and clean-from-file filter configuration use clean-from-file in git add use smudge-to-file in git checkout etc Documentation/config.txt | 27 +++++++--- Documentation/gitattributes.txt | 44 ++++++++++++++++- convert.c | 107 ++++++++++++++++++++++++++++++++++------ convert.h | 10 ++++ entry.c | 34 ++++++++++--- sha1_file.c | 42 +++++++++++++--- t/t0021-conversion.sh | 64 ++++++++++++++++++++++++ 7 files changed, 292 insertions(+), 36 deletions(-) -- 2.9.0.4.g2856e74.dirty -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html