GitFiend / Support

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

Last changes not showing in the commit view #146

Closed aurelhann closed 1 year ago

aurelhann commented 1 year ago

When I'll commit some changes with gitfiend the commit view show me nothing

image

but git cli says me the real diff

image

What's happening?

v0.38.3

GitFiend commented 1 year ago

I'm not sure what's going on. Sometimes a merge commit can be empty, or sometimes the files can take a while to load in large repos, but that's probably not the case here.

You could try "clear cache and reload" from the view menu.

Also, what version of git do you have installed?

aurelhann commented 1 year ago

I have already reload , clear cache, reload, restart the app. Nothing happens differently.

Interesting thing. If I push to remote the changes appear again: :shrug:

my version of git

git version 2.39.0

GitFiend commented 1 year ago

Thanks for the info. I've made some fixes related to matching changed files to commits that aren't in 38.3. Does the beta have the same issue? You can get it at https://gitfiend.com/all-downloads

aurelhann commented 1 year ago

same with 0.39.3 beta

image

image

GitFiend commented 1 year ago

The command I'm using for loading the changed files in a typical commit is basically: git log --remotes --name-status --pretty=format:%H --no-merges -n5

If you run that, do you get files for the most recent commit?

aurelhann commented 1 year ago

I'll try tomorrow

GitFiend commented 1 year ago

Ok, I've managed to reproduce this just now. Testing a fix for it.

GitFiend commented 1 year ago

I've just created a new beta which should fix this (v0.40.0): https://gitfiend.com/all-downloads

aurelhann commented 1 year ago

Work's fine now. Many thanks.