Skip to content

Conversation

@ocracy
Copy link

@ocracy ocracy commented Jan 18, 2026

Summary

  • Fixed multi-repo commit issue where commits failed with "No staged changes" when files were staged in a non-primary repository
  • Added repo name indicator in CommitForm to show which repository will receive the commit
  • Added warning when multiple repos have staged changes (only first will be committed)
  • Removed mandatory branch name requirement for commits on main/master branch

Test plan

  • Add a secondary repository to a project
  • Make changes in the secondary repository
  • Stage files via Git panel
  • Verify commit succeeds and goes to correct repo
  • Check git log in that repository to confirm commit

🤖 Generated with Claude Code

ocracy and others added 5 commits January 18, 2026 02:03
- Add initial_prompt column to projects table
- Add migration #12 for existing databases
- Update ProjectSettingsDialog with Initial Prompt textarea
- Combine project and session prompts on session creation
  (project prompt + "\n\n" + session prompt)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add project_repositories table to database schema
- Add repository CRUD operations (add, update, delete)
- Create multi-repo git status aggregation (lib/multi-repo-git.ts)
- Add API routes for repository management and multi-status
- Update GitPanel and GitDrawer to support multiple repositories
- Add repository management UI in Project Settings dialog
- Integrate FolderPicker for easy repository path selection

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- FileEditDialog now uses repoPath to correctly locate files in multi-repo setup
- FileChanges component groups files by repository when groupByRepo is enabled
- Sidebar in FileEditDialog shows files grouped by repository name
- Fixes ENOENT error when opening files from non-primary repositories

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Detect which repository has staged changes in multi-repo mode
- Pass the correct repo path to CommitForm instead of always using primaryRepoPath
- Show repo name indicator when committing in multi-repo mode
- Add warning when multiple repos have staged changes
- Remove mandatory branch name requirement for commits on main/master

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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