gitbutlerapp / gitbutler

The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
https://gitbutler.com
Other
12.39k stars 487 forks source link

Gitbutler 0.12.7 doesn't like my repo with submodules #4227

Open tyeth opened 2 months ago

tyeth commented 2 months ago

Version

0.12.7

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

Setup new project, identify folder of existing python project with submodules in /tools/protomq and /tools/wipper_protos. Get asked to toggle enable AI features (check it) click next (not GitHub integration enabled), AI gets untoggled, click next anyway (or reselect AI then next). Fails to setup gitbutler/integrations and branch ends up on gitbutler/target. Next gives error message about 'index' of tools/protomq submodule

How to reproduce

No response

Expected behavior

No response

Relevant log output

No response

tyeth commented 2 months ago

I'll recreate and stick more info up. Sadly it's a private work repo at the moment

Byron commented 2 months ago

Thanks a lot!

I wonder if this issue would also occur if the same repository wouldn't have submodules. Could you try to temporarily remove them (from the worktree and the index and the HEAD commit) so we can be sure it's submodule related?

From there, maybe it's possible to reduce the repository to the point where it can be shared here while reproducing the issue.