Skip to content

Commit 3794020

Browse files
authored
Merge pull request rtk-ai#991 from em0t/fix/git-completeness
fix(git): preserve full status paths and untracked files
2 parents e827184 + 6ebde6d commit 3794020

2 files changed

Lines changed: 146 additions & 186 deletions

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-
- Auto-detects `--merges` flag to avoid conflicting with `--no-merges` injection
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
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)