Skip to content

Add --verbose flag - #39

Merged
arbourd merged 1 commit into
mainfrom
arbourd/verbose-flag
Oct 18, 2026
Merged

arbourd merged 1 commit into
mainfrom
arbourd/verbose-flag

Conversation

@arbourd

@arbourd arbourd commented Oct 18, 2026

Copy link
Copy Markdown
Owner

-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
arbourd force-pushed the arbourd/verbose-flag branch from 88af35d to 43514dd Compare October 18, 2026 05:09
-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
arbourd force-pushed the arbourd/verbose-flag branch from 43514dd to 0df7910 Compare October 18, 2026 05:16
@arbourd
arbourd merged commit d79802c into main Oct 18, 2026
4 checks passed
@arbourd
arbourd deleted the arbourd/verbose-flag branch October 18, 2026 05:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant