Repository navigation
Add --verbose flag - #39
Merged
Merged
Conversation
arbourd
force-pushed
the
arbourd/verbose-flag
branch
from
October 18, 2026 05:09
88af35d to
43514dd
Compare
-v/--verbose prints each git command and its output to stderr; stdout still carries only the resulting path. A lone -v is still the version. Argument parsing is now strict: -h/--help/--version win anywhere, unknown or duplicate options and extra positionals are errors, and -- ends options. Credentials are redacted from logs and errors, including unparseable remotes and URL parse errors. The logged command is shell-quoted, and "already cloned" is noted when nothing runs. ls-remote only asks for HEAD. Completions skip leading options and offer the flags in bash, fish, zsh and PowerShell, with tests (zsh and pwsh skip when not installed).
arbourd
force-pushed
the
arbourd/verbose-flag
branch
from
October 18, 2026 05:16
43514dd to
0df7910
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
-v/--verbose prints each git command and its output to stderr; stdout still
carries only the resulting path. A lone -v is still the version.
Argument parsing is now strict: -h/--help/--version win anywhere, unknown or
duplicate options and extra positionals are errors, and -- ends options.
Credentials are redacted from logs and errors, including unparseable remotes
and URL parse errors. The logged command is shell-quoted, and "already
cloned" is noted when nothing runs. ls-remote only asks for HEAD.
Completions skip leading options and offer the flags in bash, fish, zsh and
PowerShell, with tests (zsh and pwsh skip when not installed).