-
Notifications
You must be signed in to change notification settings - Fork 2.7k
BusyBox-based MinGit: git-core commands broken since 2.36.1 #4007
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
Comments
I can confirm the behavior. An MCVE is:
FWIW The BusyBox shipped even in the most recent version is relatively outdated, and testament to #1439 still being very much relevant. I work on this from time to time, with no clear idea how much more work there is left. |
Thank you for looking at the issue. Regarding MCVE, I should have explained that I chose single line
Understood. This was my first attempt at using MinGit and its BusyBox variant, so the issue is definitely not urgent. I understand that BusyBox MinGit is still not production-ready (I had read the mentioned issue), and I can work with MSYS2 based one in the meantime. Nevertheless, I found it interesting that the function worked up to 2.36.0 and broke at 2.36.1, which seemingly did not include changes to git-core or included BusyBox. |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
Oh wow, I totally forgot about this issue. I think I have fixed this in git-for-windows/git-sdk-64@321d5fa which was shipped as part of v2.38.0. |
Thank you for an update! Unfortunately I tried running your MCVE and got the below result:
or simply
In addition to cmd, I tried adding mingw64/bin, usr/bin and various subfolder to environment path but to no avail. Currently using the following version. Again running in Japanese locale.
|
@shinfd Version https://github.com/git-for-windows/git/releases/latest |
@landstander668 Thank you for heads up but still unchanged at
As commented by dscho earlier the change to BusyBox was actually put in earlier version, so this minor update should not be relevant. Does the same error not occur for you with MinGit-2.39.0.2-busybox? |
Setup
defaults?
to the issue you're seeing?
Using Busybox-based MinGit extracted from zip. Added
extracted_git_zip/cmd
to environment path.Running in Japanese locale.
Details
CMD
Minimal, Complete, and Verifiable example
this will help us understand the issue.
The status of existing submodules in the repository are shown, or
fatal: not a git repository (or any of the parent directories): .git
if used outside of a repository.Below error is displayed, regardless of the existence of a repository in working directory.
URL to that repository to help us with testing?
Not applicable
Further Details
Other commands found in git-core e.g.
git subtree
results in error as well.Trying older releases, I confirmed that the command worked up to release 2.36.0. All releases since 2.36.1 results in the above error.
MSYS2-based MinGit does not exhibit this problem.
The text was updated successfully, but these errors were encountered: