//! `git-xcrypt process` — the entry point git itself calls.
//!
//! Registered by `init` as `filter.git-xcrypt.process`. Everything it writes to
//! `stdout` is protocol; diagnostics go to `stderr` and nowhere else.
use io;
use crateResult;
use crate;
use crateRepo;
/// Serves git's filter protocol until the stream closes.
///
/// # Errors
///
/// [`crate::Error::Config`] when the repository or `.git-xcrypt` cannot be read,
/// [`crate::Error::Io`] on a broken pipe.