Open ruiznick opened 2 years ago
Hi @ruiznick thanks for pointing to the issue! We have to distinguish: 1) Editing file locally 2) Editing the git history by another application or the git command line
In the linked issue they are talking about the second point. Are you refering to the first point?
I have seen this behaviour on hidden files. There I have to refresh manually. For normal files the gui shall be refreshed automatically.
Yes. Many people use git in the terminal and IDE (e.g. vscode) as well as a dedicated git GUI (like gittyup).
When I do any branching, stashing, committing, etc., and then switch back to gittyup, the changes are not shown until I refresh.
In other guis - e.g. vscode, gitkraken, sourcetree - when the window regains focus, it automatically refreshes. Maybe gittyup could do that too?
Hi @ruiznick thanks for pointing to the issue! We have to distinguish:
1. Editing file locally 2. Editing the git history by another application or the git command line
In the linked issue they are talking about the second point. Are you refering to the first point?
I have seen this behaviour on hidden files. There I have to refresh manually. For normal files the gui shall be refreshed automatically.
@Murmele If I make a change in JetBrains Rider and switch to Gittyup the changes do appear to load reliably. But if I make changes in Unity and alter a scene file (.unity file extension) then Gittyup doesn't auto refresh.
We are using a Repositiory watcher to check if we have local changes. Currently we are ignoring all .* files / folders. This behaviour comes from GitAhead and we did not touch it yet.
const QDir::Filters kFilters = (QDir::Dirs | QDir::NoDotAndDotDot);
in RepositoryWatcher_linux.cpp on mac and windows it looks different.
Even for branch changes we don't detect them for this we would have to watch on .git/HEAD
I should clarify, I meant Filename.unity files and not dot files.
hmm ok then it is a bug ^^
@ruiznick is this still reproducable? can you provide me two examples of such a .unity file? So I can test the behaviour
Most (or all?) git operations performed outside of Gittyup won't be detected. Also in my case I have to remember to refresh with CTRL+R
.
Examples are: to reset a branch to another commit; or pushing a new commit to remote.
Can you open for this an issue, because this is not yet implemented. Only changes in the working directory are considered
OS: Linux Mint 19.3 Cinnamon App Version: 1.1.1 flatpak
Making changes such as editing/adding/renaming files doesn't automatically appear in the UI. The UI only updates when manually clicking View -> Refresh.
I couldn't find the issue here but might have found something similar in gitahead https://github.com/gitahead/gitahead/issues/318#issue-523909985