Skip to main content

Module filter_process

Module filter_process 

Source
Expand description

Long-running Git filter protocol (filter.<name>.process), matching git-filter v2.

See Git’s convert.c (apply_multi_file_filter) and sub-process.c (handshake).

Structs§

FilterSmudgeMeta
Optional metadata sent with smudge (ref, treeish, blob hex).

Functions§

apply_process_clean
Run clean via long-running filter cmd for path and input.
apply_process_smudge
Run smudge via long-running filter.
smudge_meta_blob_only
Smudge metadata for path-only checkouts (git checkout -- <paths>): blob= only.
smudge_meta_for_archive
Process-smudge metadata for git archive (matches Git / t0021).
smudge_meta_for_checkout
smudge_meta_for_reset
Process-smudge metadata for git reset --hard <ref> (t0021): ref= when the spec names a ref.
smudge_meta_treeish_only
Smudge metadata with treeish= only (e.g. git reset --hard <commit> / git merge checkout).