Skip to content

Detects modifications with submodules where there are none #2579

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
freijon opened this issue Mar 21, 2025 · 0 comments
Open

Detects modifications with submodules where there are none #2579

freijon opened this issue Mar 21, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@freijon
Copy link

freijon commented Mar 21, 2025

Describe the bug
I have several submodules in my project. For some submodules, gitui keeps listing "M" modifications. When looking at the change, it shows: size: 0 B -> 0 B (+0 B). When I check with git status, there is nothing listed as modified.

Also, when I check the Submodules in gitui, all the submodules that are listed as modified have the following info:

Commit:
0000000000000000000000000000000000000000

This contradicts the information shown in the list where the correct hash is displayed (see screenshot below).

When I try to stage these phantom-modifications, I get this error:

Error
staging error:
git error:repository path '' is not owned by current user; class=Config (7); code=Owner (-36)

Screenshots

Image

Context (please complete the following information):

  • OS/Distro + Version: Linux (WSL), Windows
  • GitUI Version:
    • Linux: nightly 2025-01-21 ()
    • Windows: 0.27.0 2025-01-14 (99f6967)
  • Rust version: 1.85.1
@freijon freijon added the bug Something isn't working label Mar 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant