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§

DelayedProcessCheckout
Paths waiting for list_available_blobs / retry smudge (Git finish_delayed_checkout).
DelayedProcessCheckoutEntry
One path deferred by a process filter that returned status=delayed (Git delayed_checkout).
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.
ensure_process_filter_started
Ensure the long-running filter for cmd is running (handshake complete).
process_filter_supports_delay
True when cmd is running (or can be started) and advertises the delay capability.
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).