Skip to content

fix: rename ignore-switch-directory flag to no-switch-directory#7

Merged
k1LoW merged 1 commit into
mainfrom
change-flag-name
Dec 26, 2025
Merged

fix: rename ignore-switch-directory flag to no-switch-directory#7
k1LoW merged 1 commit into
mainfrom
change-flag-name

Conversation

@k1LoW

@k1LoW k1LoW commented Dec 26, 2025

Copy link
Copy Markdown
Owner

This pull request updates the option name for disabling the automatic directory switching feature in the shell integration, replacing --ignore-switch-directory with --no-switch-directory for clarity and consistency. The documentation and codebase have both been updated to reflect this change.

User-facing changes:

  • Updated the CLI flag from --ignore-switch-directory to --no-switch-directory for disabling the git() wrapper function that handles automatic directory switching. (cmd/root.go, README.md) [1] [2] [3]

Documentation updates:

  • Revised usage examples and explanations in README.md to use the new --no-switch-directory flag.

@k1LoW k1LoW self-assigned this Dec 26, 2025
@github-actions

Copy link
Copy Markdown
Contributor

Code Metrics Report

main (cc48259) #7 (28d21aa) +/-
Coverage 0.0% 0.0% 0.0%
Code to Test Ratio 1:0.0 1:0.0 0.0
Test Execution Time 9s 11s +2s
Details
  |                     | main (cc48259) | #7 (28d21aa) | +/-  |
  |---------------------|----------------|--------------|------|
  | Coverage            |           0.0% |         0.0% | 0.0% |
  |   Files             |              8 |            8 |    0 |
  |   Lines             |            416 |          416 |    0 |
  |   Covered           |              0 |            0 |    0 |
  | Code to Test Ratio  |          1:0.0 |        1:0.0 |  0.0 |
  |   Code              |            892 |          892 |    0 |
  |   Test              |              0 |            0 |    0 |
- | Test Execution Time |             9s |          11s |  +2s |

Code coverage of files in pull request scope (0.0% → 0.0%)

Files Coverage +/- Status
cmd/root.go 0.0% 0.0% modified

Reported by octocov

@k1LoW k1LoW merged commit 7e7e337 into main Dec 26, 2025
2 checks passed
@k1LoW k1LoW deleted the change-flag-name branch December 26, 2025 03:38
@github-actions github-actions Bot mentioned this pull request Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant