Skip to content

Add git butler support back-049#671

Open
woss wants to merge 3 commits into
MrLesk:mainfrom
woss:add-git-butler-support
Open

Add git butler support back-049#671
woss wants to merge 3 commits into
MrLesk:mainfrom
woss:add-git-butler-support

Conversation

@woss

@woss woss commented Jun 5, 2026

Copy link
Copy Markdown

Summary

Briefly explain the purpose of this pull request.

Related Tasks

List task IDs this PR closes, e.g. closes back-049.

📋 Important: All PRs must have an associated task in the backlog.

  • If no task exists, create one first using: backlog task create "Your task title"
  • Follow the task guidelines when creating tasks
  • Tasks should be atomic, testable, and well-defined with clear acceptance criteria

Task Checklist

  • I have created a corresponding task in backlog/tasks/
  • The task has clear acceptance criteria
  • I have added an implementation plan to the task
  • All acceptance criteria in the task are marked as completed

Testing

Install gitbutler and use this software. Adding to the AGENTS.md that the agents should use backlog for task management, backlog mcp will know to use git or but. Also need to change the config to enable the but integration.

woss added 3 commits June 4, 2026 21:48
- Add gitbutler config (mode: enabled/disabled) to BacklogConfig
- Add virtual-branch source type and virtualBranch field to Task interface
- Create GitButlerOperations wrapper with branch/staging/commit operations
- Implement adapter pattern (GitAdapter vs GitButlerAdapter)
- Integrate virtual branch task loading into Core
- Add --virtual-branch CLI flag for task create
- Update UI components to show virtual branch indicators

BACK-409 - Finalize config changes
BACK-409 - Simplify gitbutler config to boolean
BACK-409 - Update task acceptance criteria and mark all complete
BACK-409 - Wire up GitAdapter for seamless Git/GitButler switching
BACK-409 - Mark autoCommit AC as complete
BACK-409 - Fix GitButlerAdapter to use but stage and but commit
Reorder tasks in To Do
Reorder tasks in In Progress
Fix GitButlerAdapterImpl commitChanges to not use listFilesInTree with empty string

Fix GitButler stageFiles to use 'but add .' to avoid CLI argument limits

Ensure correct Git adapter is always created in ensureConfigLoaded

Reorder tasks in In Progress

Reorder tasks in To Do

Update task BACK-409

Update task BACK-409

Update task BACK-409

Update task BACK-409

Parse gitbutler config option from config file

Ensure correct Git adapter is used for all git-modifying methods
Fix completeTask to use correct Git adapter for GitButler

Fix loadTasks to use correct Git adapter for GitButler

Fix updateTasksBulk to use correct Git adapter for GitButler
Add getBranchLastModifiedMap method to GitAdapter interface
Fix reorderTask to use correct Git adapter for GitButler
Fix GitAdapter to support commitChanges method for GitButler
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