diff options
| author | Danilo M. <danix@danix.xyz> | 2026-06-29 18:23:14 +0200 |
|---|---|---|
| committer | Danilo M. <danix@danix.xyz> | 2026-06-29 18:23:14 +0200 |
| commit | 9359ec0eaedf8b8f8b68a33b96507589e0e2c651 (patch) | |
| tree | 689eee26c804c95a90e84657d76add8568652679 /completions/gitctl.bash | |
| parent | ffe0864406cd67f82071becf494f0dd9e701e149 (diff) | |
| download | gitctl-9359ec0eaedf8b8f8b68a33b96507589e0e2c651.tar.gz gitctl-9359ec0eaedf8b8f8b68a33b96507589e0e2c651.zip | |
feat: repo create --private - Phase 1 only, never added to cgit
--private makes the gitolite stanza and bare repo but skips the helper
call, so the repo is never written to cgitrc and stays off the public
cgit index (shows PRIV in repo list). --section is required unless
--private. Bash completion offers --private; README and CLAUDE.md
document the flag and the local /usr/local/bin install.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Diffstat (limited to 'completions/gitctl.bash')
| -rw-r--r-- | completions/gitctl.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/gitctl.bash b/completions/gitctl.bash index 321a917..497d0a8 100644 --- a/completions/gitctl.bash +++ b/completions/gitctl.bash @@ -58,7 +58,7 @@ _gitctl() { # flags, by subcommand if [[ $cur == -* ]]; then case "$group $action" in - "repo create") COMPREPLY=($(compgen -W "--section --desc --owner" -- "$cur")) ;; + "repo create") COMPREPLY=($(compgen -W "--section --private --desc --owner" -- "$cur")) ;; "repo add-remote") COMPREPLY=($(compgen -W "--remote-name" -- "$cur")) ;; esac return |
