⏺ Done. All tests pass. Performance improvement: #6

Merged
navicore merged 1 commit from remove-pipeline into main 2026-01-15 02:23:09 +00:00
navicore commented 2026-01-15 02:22:58 +00:00 (Migrated from github.com)

Before: shell → git status → pipe → gitstatus + shell → git stash → pipe → wc → pipe → tr (5 processes, 3 pipes)

After: shell → gitstatus (1 process, internally calls git twice)

Changes:

  • gitstatus now calls git status --porcelain --branch and git stash list directly
  • Outputs 8 fields instead of 7 (added stash count)
  • Shell script simplified - just calls gitstatus, no piping

To test:
cargo install --path . && exec zsh

Before: shell → git status → pipe → gitstatus + shell → git stash → pipe → wc → pipe → tr (5 processes, 3 pipes) After: shell → gitstatus (1 process, internally calls git twice) Changes: - gitstatus now calls git status --porcelain --branch and git stash list directly - Outputs 8 fields instead of 7 (added stash count) - Shell script simplified - just calls gitstatus, no piping To test: cargo install --path . && exec zsh
Sign in to join this conversation.
No description provided.