Skip to content

Commit 8564ddc

Browse files
authored
Merge pull request #2040 from rtk-ai/fix/review-1879-git-status-doc-test
docs(git): sync status README with --porcelain -b
2 parents 06476d1 + 6e6efd4 commit 8564ddc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/cmds/git/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## Specifics
66

77
- **git.rs** uses `trailing_var_arg = true` + `allow_hyphen_values = true` so native git flags (`--oneline`, `--cached`, etc.) pass through correctly
8-
- Default `git status` uses `--porcelain -b -uall` so nested untracked files stay visible; branch/short-only flags reuse the compact path, other explicit args still pass through unchanged
8+
- Default `git status` uses `--porcelain -b` so the compact output never exceeds raw `git status` (an untracked directory collapses to a single line, matching git's default); branch/short-only flags reuse the compact path, other explicit args still pass through unchanged
99
- Global git options (`-C`, `--git-dir`, `--work-tree`, `--no-pager`) are prepended before the subcommand
1010
- Exit code propagation is critical for CI/CD pipelines
1111
- **glab_cmd.rs** declares `-R`/`--repo` and `-g`/`--group` at the clap level; they are **appended** to the glab args (not prepended) so subcommand dispatch stays intact

0 commit comments

Comments
 (0)