tibirna / qgit

Official git repository for QGit.
Other
174 stars 68 forks source link

"Loading working directory changed files..." takes too long. #10

Open placasse opened 6 years ago

placasse commented 6 years ago

I'm using qgit to look at my commits, compare different branches from different remotes to decide which commit I should merge to my master. I frequently change from one working directory to another (a different git repos). I'd like my log to be immediately visible, but it is waiting for "Loading working directory changed files...", which is usually not my interest when I'm in qgit (I use git st and vim :Gdiff to do this). It would be nice if the working directory changes could be computed in background and be accessible only when ready. Of course with a progress loop to emphasis that something is in progress.

PS by too long I mean many seconds.

tibirna commented 6 years ago

Your suggestion is straightforward common sense, regardless of use case. Thanks! Will look into it.

tibirna commented 6 years ago

A first cursory look over the code gives two insights:

What I mean with all this is that, unfortunately, I seem not to be able to come up with a quick fix for this. Redesign (and rewrite of the loading phase) might be needed.