You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a IDEasy user, I want to run ide update so that I am up-to-date.
Actual behavior
$ ide update
Updates are available for the settings repository. If you want to apply the latest changes, call "ide update"
Start: Pull settings repository
error: Your local changes to the following files would be overwritten by merge:
intellij/workspace/update/.idea/workspace.xml
Please commit your changes or stash them before you merge.
Aborting
Running command 'C:\Program Files\Git\clangarm64\bin\git.exe' with arguments '--no-pager' 'pull' '--quiet'
failed with exit code 1!
Git pull on branch main failed for repository C:\Users\joerg\projects\IDEasy\settings.
Failed to update git repository at C:\Users\joerg\projects\IDEasy\settings
See above error for details. If you have local changes, please stash or revert and retry.
Typically you should abort and fix the problem. Do you want to continue anyways?
Option 1: yes
Option 2: no
Steps to reproduce (bug) / Use Case of feature request (enhancement)
the problem is that I have this phantom changes problem with git (due to EOL mismatch or something). I can try to revert my changes with git but my local repository always stays changed and git status reports the file to be modified no matter what I do. IMHO this is actually a bug in git itself that git seems to consider as a feature.
We already had this effect earlier globally blocking our entire team for IDEasy repository.
IMHO we somehow resolved this with a .gitattributes file but all devs needed to rebuild their git index to make the error go away.
It is absolutely annoying that git behave like this and insists on a file being modified even though this is a lie preventing regular git operations like git pull to fail with pointelss merge conflicts.
For the record:
I can even delete the conflicting file with rm and then run git pull on the repo and get the error reproduced.
So in the end this is a pure bug of git and has nothing to do with IDEasy itself.
However, we need to find at least a workaround to prevent git from blocking us.
Affected version:
OS: Windows
The text was updated successfully, but these errors were encountered:
Expected behavior
As a IDEasy user, I want to run
ide update
so that I am up-to-date.Actual behavior
Steps to reproduce (bug) / Use Case of feature request (enhancement)
git status
reports the file to be modified no matter what I do. IMHO this is actually a bug in git itself that git seems to consider as a feature.Related/Dependent Issues
Comments/Hints:
We already had this effect earlier globally blocking our entire team for IDEasy repository.
IMHO we somehow resolved this with a
.gitattributes
file but all devs needed to rebuild their git index to make the error go away.It is absolutely annoying that git behave like this and insists on a file being modified even though this is a lie preventing regular git operations like
git pull
to fail with pointelss merge conflicts.For the record:
I can even delete the conflicting file with
rm
and then rungit pull
on the repo and get the error reproduced.So in the end this is a pure bug of git and has nothing to do with IDEasy itself.
However, we need to find at least a workaround to prevent git from blocking us.
Affected version:
The text was updated successfully, but these errors were encountered: