pub struct Report {
pub outcome: Outcome,
pub warnings: Vec<String>,
pub foreign: usize,
}Expand description
What sync did, plus anything the configuration file is worth warning about.
Fields§
§outcome: OutcomeThe verdict.
warnings: Vec<String>Lines of .git-xcrypt that declare something pointless.
Carried out rather than printed here so the binary owns every message,
as it does for init.
foreign: usizeHow many lines outside the managed section touch filter, text,
eol or crlf.
A count and nothing more, on purpose. Whether any of them actually
reaches a declared path is a question about git’s whole attribute stack,
and status already answers it by running that stack — a second
spelling here would be one too many, and a sync that quoted an
ordinary *.psd filter=lfs at its user every run would teach them to
stop reading it. So this only says “something outside this section could
have an opinion” and points at the command that knows.