From 9359ec0eaedf8b8f8b68a33b96507589e0e2c651 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Mon, 29 Jun 2026 18:23:14 +0200 Subject: 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 --- completions/gitctl.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'completions') 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 -- cgit v1.2.3