gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Application behave unexpected when there is `.git` directory inside repository used as project

Open erectfully opened this issue 1 year ago • 2 comments

Long story short, I was self-hosting a Supabase which required to be cloned before deployment so I've cloned it to repository which was mine Gitbutler project, the repo didn't shown up which is fine. Later, application did not respond to my actions (I could move one file, then restart app, move another file and so on) not sure what causes such case, and I cannot reproduce it on-call however something is wrong down there. This may be also caused by submodules that we're used in some past point of time inside such repository. I think the screencast demonstrates the actual issue.

Screencast from 2024-03-17 16-04-21.webm

Version: 0.10.16 Platform: Arch Linux (CachyOS) Submitted Ticket Message: a1071788-5322-4eaf-95e7-9c72ebc3666d

erectfully avatar Mar 17 '24 15:03 erectfully

Thanks for reporting!

It's clear from the video that the application isn't responding as it should, and the log files could probably tell more.

Since submodules aren't supported, with the most recent version of GitButler (0.11.3 at this time) one might not be able to add the project at all.

Maybe you could retry with the latest version, and if it fails, share the log assuming it contains errors? Another test could be to remove and re-add the project to see if it now would be rejected based on submodules being present.

Thanks a lot for your help.

Byron avatar Apr 23 '24 07:04 Byron

@Byron, I'm sorry, I no longer have the logs since I changed distro. Thanks for the tip on where to find logs – I'll use it if the issue happens again on my machine and upload them here.

erectfully avatar Apr 23 '24 10:04 erectfully

@keinsell thank you for reporting this in the first place. Since this doesnt seem to be a problem currently im going to close this issue. If this problem re-surfaces feel free to open a new issue (or if you come across another problem)

krlvi avatar Aug 18 '24 10:08 krlvi