GitFiend / Support

Public repo for GitFiend questions and issues
118 stars 7 forks source link

Can't read changes over 2000 changed files #163

Closed yama24 closed 1 year ago

yama24 commented 1 year ago

when i see in the github desktop i can find changes

image

but when i open GitFiend, i can't click Changes button image

this problem only in my Ubuntu PC, in my Windows PC work normally.

GitFiend commented 1 year ago

I just tried this with 15000 files on ubuntu and wasn't able to reproduce the issue. There may be something about your repo confusing gitfiend? You could try opening the dev tools and seeing if there are any errors? (View -> Toggle Devloper Tools). Do you have a recent version of ubuntu and git installed?

yama24 commented 1 year ago

i use Ubuntu 22.04 jammy and git version 2.34.1

yama24 commented 1 year ago

i can't find any error,, image

and load_wip_patches return null image

and when i reduce the changed files i got this image

GitFiend commented 1 year ago

Thanks for the investigation, that's helpful. It looks like a parser is failing.

I'm running this command: git status --porcelain -uall -z, and then parsing the result and it looks like that's failing due to an unhandled case. (load_wip_patches in https://github.com/GitFiend/rust-server/blob/main/src/git/queries/wip/wip_patches.rs in case you are interested)

I can read through the git documentation to see if there's a case I've missed and/or try to reproduce the issue. A repo with the issue or the output of the command above would help a lot if that's possible.

GitFiend commented 1 year ago

I've found a file status case that wasn't handled (T - type changed in index). The next release will include a fix for this, which will hopefully fix your issue. load_wip_patches will also return an error message instead of null in case this doesn't fix your problem.

yama24 commented 1 year ago

oke thanks, i'll be waiting for the next version f this app.

yama24 commented 1 year ago

the new version show me the error,, that's great! and i got the error

image

there is typechanged file from symbolic link to regular file.

the problem is not fixed yet but at least i know the problem and i know what have i do.

so thanks for your help. i realy appreciate it.

yama24 commented 1 year ago

maybe the problem is another issue. so i close thus issue. Thanks

GitFiend commented 1 year ago

Thanks for the error message. I should be able to fix it with that.