Skip to content

Applying Changes Fails on Mac #1

@0necontroller

Description

@0necontroller

Bug: 'git-filter-repo' failed: 'filter-repo' is not a git command when applying changes

Environment

  • OS: macOS Intel (x86_64)
  • Application: GitModdy (Wails Desktop Application)

Description

When attempting to rewrite the repository history and apply changes via GitModdy, the execution halts with a runtime execution error. The application relies on git filter-repo to process history modifications, but it cannot find the command executable in the current environment's PATH.

Steps to Reproduce

  1. Open the repository moddy-test on the main branch.
  2. Stage history/metadata alterations under Changes to Apply (e.g., Update font of map).
  3. Click on the Complete Rewrite action button.
  4. Error banner triggers immediately.

Actual Behavior

The execution halts, yielding the following internal application error block:

{
  "message": "git-filter-repo failed: git: 'filter-repo' is not a git command. See 'git --help'.\n",
  "cause": {},
  "kind": "RuntimeError"
}

Expected Behavior

The app should seamlessly invoke git-filter-repo to safely overwrite the local tracking index and let the user execute git push origin --force --all.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions