-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[NBug] Remote URLs should appear in pairs. #6562
Comments
Please fill in all necessary information |
Could you run the command Feel free to alter the url if it's confidential... You've got this error because you should have a pair number of lines (one for 'fetch' and one for 'push'). |
Sure: $ git remote -v Version 3.0.2.5232 works great. I got this error after updating to 3.1.0.5877 and trying to run GitExtensions. |
@zennboy Did you changed the version of git in the same time you updated GitExtensions? Because the code that introduced this verification (c11a009) was introduced in v3.0. Perhaps this code was used somewhere else in the application... Your output seems good and I don't really understand why the exception is thrown. |
I have not seen this issue on my computer, but I guess I am not opening the same type of repositories as those who see this issue. My only local repositories are local copies of those on my user page (https://github.com/illfated?tab=repositories). |
We need more info or have consistent repro steps. |
I will try to push a attempt of fix in a few minutes. |
Try to fix gitextensions#6562 As output of `git remote -v` seems good (See gitextensions#6562 (comment) ), I suspect a problem with a version of git <= 2.16 that return an empty line at the end of the command output (all users reporting this error have a not up to date version of git. See https://github.com/gitextensions/gitextensions/search?q=remote+URLs+should+appear+in+pairs&type=Issues )
Could you (@zennboy , @dnoakes , @reydevelop , @MayorovSerg, @imranmu ) test the version given by @RussKie in this message: #6562 (comment) |
I downgraded to git 2.16.1 and I get an error only when start with the dashboard... If I start with a repository - no errors
|
So, now, you could try the fix 😉 |
So, that fails for the 'N' in upper case? |
I suspect so... |
It looks like there was a change in wording after git 2.16 that changed from "fatal: Not a git..." to "fatal: not a git...". The existing parser expected the warning to be in the lower case, and thus failed for earlier versions of git. The fix makes the check case insensitive. Fixes gitextensions#6562 Closes gitextensions#6563 Closes gitextensions#6565 Closes gitextensions#6570 Closes gitextensions#6571 Closes gitextensions#6574 Closes gitextensions#6577 Closes gitextensions#6571
@RussKie I have edited the first post to make a summary easier to understand for people reporting the same issue (without to be obliged to read all the messages of this issue). Do you think that you could see if it's OK and update it if needed? |
Awesome, thank you Philippe 👍
|
@pmiossec |
I don't know enough the wiki. Which page? Could you do it? I found probably this one ( https://github.com/gitextensions/gitextensions/wiki/Canary-Builds ), but need to be updated... I will update it. |
Updated |
edit from Git Extensions team:
This bug is due to an incompatibility between old version of git (before 2.17) and the last version of Git Extensions.
It has been fixed in https://github.com/gitextensions/gitextensions/releases/tag/v3.1.1
To avoid this error, you could:
Current behaviour
Crashes as soon as I try to open the app.
Expected behaviour
The app would open normally.
Steps to reproduce
Crashes as soon as I try to open the app.
Error Details
Environment
The text was updated successfully, but these errors were encountered: