`atomic status` over Status — including `--json`: the IDE contract (schema_version, repository_root, entries) renders client-side from the wire's file entries, and `--reindex` composes the wire's Repair(ReindexWorkingCopy) before the status read. Only `--debug-ignore` stays local: it reads ignore files (`.atomicignore` plus the user's global ignore list) without touching the repository databases,
(options: &atomic_repository::status::StatusOptions)
| 227 | /// ride the wire too (the parity the fixed handler options could never |
| 228 | /// give). |
| 229 | fn status_options_proto(options: &atomic_repository::status::StatusOptions) -> pb::StatusOptions { |
| 230 | pb::StatusOptions { |
| 231 | include_untracked: Some(options.include_untracked), |
| 232 | include_ignored: Some(options.include_ignored), |
| 233 | respect_ignore_files: Some(options.respect_ignore_files), |
| 234 | hash_contents: Some(options.hash_contents), |
| 235 | path_filters: options |
| 236 | .path_filters |
| 237 | .iter() |
| 238 | .map(|p| p.display().to_string()) |
| 239 | .collect(), |
| 240 | } |
| 241 | } |
| 242 | |
| 243 | pub fn status(args: &super::status::Status) -> CliResult<bool> { |
| 244 | if args.debug_ignore || args.no_reconcile || args.git { |