Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for updates of settings not working with branches #908

Open
hohwille opened this issue Jan 7, 2025 · 0 comments
Open

Check for updates of settings not working with branches #908

hohwille opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working git settings ide-settings repo and replated processes and features

Comments

@hohwille
Copy link
Member

hohwille commented Jan 7, 2025

Expected behavior

As a IDEasy user, I want not see strange errors in my log so that I can focus on my project and do not get confused.

Actual behavior

Running command 'C:\Program Files\Git\cmd\git.exe' with arguments 'rev-parse' '@{u}'
failed with exit code 128!
@{u}
fatal: ambiguous argument '@{u}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Failed to get the remote commit id.
Running command 'C:\Program Files\Git\cmd\git.exe' with arguments 'fetch' 'origin' 'feature/JIRA-7480'
failed with exit code 128!
fatal: couldn't find remote ref feature/JIRA-7480
Git fetch for 'origin/feature/JIRA-7480 failed.'.
Running command 'C:\Program Files\Git\cmd\git.exe' with arguments 'rev-parse' '@{u}'
failed with exit code 128!
@{u}
fatal: ambiguous argument '@{u}': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'
Failed to get the remote commit id.

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Create an IDEasy project
  2. Create some custom feature branches
  3. ide status (e.g. can be more or less any ide command as long as it is not processable output)

Related/Dependent Issues

#161
#467

Comments/Hints:

Git is a tricky beast.
Driving implementation with stackoverflow answers is not leading to robust software :)
IMHO the current solution is only working when there are no other (local) branches.
This may apply for average users and most of our developers but in reality a lot more can happen...

Affected version:

  • 2024.12.002-beta
@hohwille hohwille added bug Something isn't working settings ide-settings repo and replated processes and features git labels Jan 7, 2025
@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working git settings ide-settings repo and replated processes and features
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant