Part of
src/cmds/— see also docs/contributing/TECHNICAL.md
- git.rs uses
trailing_var_arg = true+allow_hyphen_values = trueso native git flags (--oneline,--cached, etc.) pass through correctly - Auto-detects
--mergesflag to avoid conflicting with--no-mergesinjection - Global git options (
-C,--git-dir,--work-tree,--no-pager) are prepended before the subcommand - Exit code propagation is critical for CI/CD pipelines
gh_cmd.rsimportscompact_diff()fromgit.rsfor diff formatting; markdown helpers (filter_markdown_body,filter_markdown_segment) are defined ingh_cmd.rsitselfdiff_cmd.rsis a standalone ultra-condensed diff (separate fromgit diff)