-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Submodule update fails after GIT version 2.25.1 with Git Extensions #3356
Comments
Have you tried this without Git Extensions? With Git versions (and/or snapshots) in between? Did you come up with a minimal reproducible example? |
Have you tried this without Git Extensions? - Yes. Submodule update works with Sourcetree or if I issue a command With Git versions (and/or snapshots) in between? I have tested GIT release versions for 2.26.2 to 2.32.0.2 with Git Extensions 3.4.3.9999 and reasults are; You can find my minimal example here: It is a simple project repository without submodiles, but the behaviour of submodule update could be seen on it to. |
And this is responce to me from Git Extensions teams. |
Looking at the
instead of
This might be the source of the error. I tried to manually set the |
Good point. However...
It says That suggests that https://github.com/git-for-windows/git/blob/v2.33.1.windows.1/git-sh-setup.sh#L47 fails to catch any output from
I vaguely remember having seen similar instances, though, and they were invariably due to anti-malware intercepting a call, claiming that |
Oh, BTW... me@work MINGW64 ~/repros/submodule-update-3356
$ git clone https://github.com/ditard/submoduleupdate_issue
Cloning into 'submoduleupdate_issue'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 3 (delta 0), pack-reused 0
Receiving objects: 100% (3/3), done.
me@work MINGW64 ~/repros/submodule-update-3356
$ cd submoduleupdate_issue/
me@work MINGW64 ~/repros/submodule-update-3356/submoduleupdate_issue (master)
$ git submodule update --init --recursive
me@work MINGW64 ~/repros/submodule-update-3356/submoduleupdate_issue (master)
$ In other words, it works as expected here. I cannot reproduce the reported issue. |
You will get a kick out of this.... The issue is with the font used in the editor when making the git-sh-setup file and how a human can't distinguish between the 1 and l (L), making it appear as 1 or l in the Courier New font -- to be specific. In other words line 46 of the /mingw64/libexec/git-core/git-sh-setup file is saying: instead of
|
No. Mine looks fine, what version of the git-sh-setup file do you have? |
I'm using git version 2.32.0.windows.1 |
#3356 (comment) also has the correct file name, no |
I was affected by this issue as well. I'm using an unsupported way (MSYS2 mixed) but I'll leave my error trace just in case if it helps. C:/msys64/mingw64/libexec/git-core\git-submodule: line 22: .: git-sh-setup: file not found |
I still suspect this. |
Setup
Windows 10 64-bit
defaults?
to the issue you're seeing?
Git Extensions is used. This issue does not exist with GIT version 2.25.1!
According to Git Extensions team the problem is not in their side.
Details
Bash
Minimal, Complete, and Verifiable example
this will help us understand the issue.
To update submodules.
git-sh-i18n is not missing actually.
URL to that repository to help us with testing?
** insert URL here **
The text was updated successfully, but these errors were encountered: