aboutsummaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-30 17:44:35 +0100
committerDanilo M. <danix@danix.xyz>2026-10-30 17:44:35 +0100
commit98f7dde49951062c16f260467f4a421c2b2ca0a3 (patch)
tree6f0e9899269d9a874f6c907ae87c54fea5ebdc36 /CLAUDE.md
parent4c1dc7e48169e2afed3bd90a7044ffd59cfd1029 (diff)
downloadgitctl-98f7dde49951062c16f260467f4a421c2b2ca0a3.tar.gz
gitctl-98f7dde49951062c16f260467f4a421c2b2ca0a3.zip
Add repo move: refile a public repo under another sectionHEADmaster
There was no way to change a repo's cgit section short of deleting and recreating it or hand-editing cgitrc, which gitctl exists to prevent. The helper gains move-repo, built from the existing pair: the block's repo.* lines (desc included) are lifted out, remove_repo_block drops them, insert_repo_block files them at the end of the target section's span, so spacing follows the same rules as add and delete. It refuses a repo not in cgit and a missing section, and is a no-op when the repo is already there. The client's repo move ensures the section exists first. Self-tests cover the block move, the file round trip and both refusals. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
0 files changed, 0 insertions, 0 deletions