forked from Alexpux/Cygwin
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Assorted fixes for Git for windows #1
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
It is true that pure Windows programs cannot handle the TZ variable well. However, the same is not true of Git, which handles the timezone environment variable quite well. Let's give it a chance by passing on the TZ environment variable as MSYS2_TZ. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This resembles MSys1' behavior on which Git's t0060 relies. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Git's test suite most prominently sports a POSIX path with a space in it: the tests are executed in directories whose names have the form 'trash directory.t0123-blub'. Therefore, we *must* handle those names correctly. This fix makes Git's t1504-ceiling-dirs.sh pass. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
There is a difference between an empty value and an unset environment variable. We should not confuse both; If the user wants to unset an environment variable, they can certainly do so (unsetenv(3), or in the shell: 'unset ABC'). This fixes Git's t3301-notes.sh, which overrides environment variables with empty values. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Even when the character set is specified as ASCII, we should handle data outside the 7-bit range gracefully by simply copying it, even if it is technically no longer ASCII. This fixes several of Git for Windows' tests, e.g. t7400. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
It came in real handy while debugging an issue that strace 'fixed'. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
It is not a good idea to expand, say, ~/.gitconfig partially: replacing it by ~C:\msys64\.gitconfig is most likely the wrong thing to do! Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
We do not perform tilde expansion in the MSys2 runtime; let's leave those paths intact for programs that want to expand such paths themselves. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
The substring '::' most likely denotes an IPv6 address, not a path. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This fixes Git's t1506-rev-parse-diagnosis.sh Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
... so let's skip posix-to-windows conversion on such parameters. This fixes Git's t1508-at-combinations.sh. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
An argument like me@example.com:/tmp/ is not something we should convert into a Windows path; Use the absence of a slash before the colon as a tell-tale that it is *not* a POSIX path list (exception: if the part left of the colon is "." or ".."). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
dscho
force-pushed
the
git-for-windows
branch
from
February 22, 2015 17:41
ca0293f
to
aefedc0
Compare
dscho
force-pushed
the
git-for-windows
branch
from
February 22, 2015 18:07
aefedc0
to
379db4b
Compare
dscho
added a commit
that referenced
this pull request
Feb 22, 2015
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Apr 22, 2015
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Apr 23, 2015
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
May 5, 2015
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
May 24, 2015
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Jun 28, 2015
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Aug 28, 2015
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Sep 16, 2015
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Nov 25, 2015
Assorted fixes for Git for windows
git-for-windows-ci
pushed a commit
that referenced
this pull request
Mar 31, 2019
Assorted fixes for Git for windows
git-for-windows-ci
pushed a commit
that referenced
this pull request
Apr 6, 2019
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Apr 15, 2019
Assorted fixes for Git for windows
git-for-windows-ci
pushed a commit
that referenced
this pull request
Apr 30, 2019
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Dec 17, 2019
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Apr 27, 2020
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Jun 4, 2020
Assorted fixes for Git for windows
git-for-windows-ci
pushed a commit
that referenced
this pull request
Jul 9, 2020
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Aug 14, 2020
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
Aug 24, 2020
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Mar 30, 2021
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Apr 8, 2021
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Nov 11, 2021
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Dec 3, 2021
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Feb 1, 2022
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
May 3, 2022
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
May 6, 2022
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
May 8, 2022
Assorted fixes for Git for windows
dscho
added a commit
that referenced
this pull request
May 8, 2022
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
May 13, 2022
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Sep 5, 2022
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
May 12, 2023
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Jun 16, 2023
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Jun 19, 2023
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Sep 6, 2023
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Nov 29, 2023
Assorted fixes for Git for windows
dscho
pushed a commit
to dscho/msys2-runtime
that referenced
this pull request
Feb 25, 2024
No longer drop ranges of identical link names. Append '#0, git-for-windows#1, ...' to each name instead. Enhance charset allowed in label names. No longer ignore null volume serial numbers. Signed-off-by: Christian Franke <christian.franke@t-online.de>
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Aug 30, 2024
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Sep 5, 2024
Assorted fixes for Git for windows
dscho
added a commit
to dscho/msys2-runtime
that referenced
this pull request
Sep 18, 2024
Assorted fixes for Git for windows
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Git for Windows is about to switch to an MSys2-based development environment. The major road block was that the test suite did not pass when building Git in such an environment.
These changes are required to support Git for Windows, and together with a couple more commits to Git for Windows' own source code, makes the test suite pass.