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

Assorted fixes for Git for windows #1

Merged
merged 16 commits into from
Feb 22, 2015

Conversation

dscho
Copy link
Member

@dscho dscho commented Feb 22, 2015

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.

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 added a commit that referenced this pull request Feb 22, 2015
Assorted fixes for Git for windows
@dscho dscho merged commit 894e323 into git-for-windows:develop Feb 22, 2015
@dscho dscho deleted the git-for-windows branch February 22, 2015 18:54
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
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
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
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
dscho added a commit to dscho/msys2-runtime that referenced this pull request Apr 8, 2021
dscho added a commit to dscho/msys2-runtime that referenced this pull request Nov 11, 2021
dscho added a commit to dscho/msys2-runtime that referenced this pull request Dec 3, 2021
dscho added a commit to dscho/msys2-runtime that referenced this pull request Feb 1, 2022
dscho added a commit to dscho/msys2-runtime that referenced this pull request May 3, 2022
dscho added a commit to dscho/msys2-runtime that referenced this pull request May 6, 2022
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
dscho added a commit to dscho/msys2-runtime that referenced this pull request Sep 5, 2022
dscho added a commit to dscho/msys2-runtime that referenced this pull request May 12, 2023
dscho added a commit to dscho/msys2-runtime that referenced this pull request Jun 16, 2023
dscho added a commit to dscho/msys2-runtime that referenced this pull request Jun 19, 2023
dscho added a commit to dscho/msys2-runtime that referenced this pull request Sep 6, 2023
dscho added a commit to dscho/msys2-runtime that referenced this pull request Nov 29, 2023
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
dscho added a commit to dscho/msys2-runtime that referenced this pull request Sep 5, 2024
dscho added a commit to dscho/msys2-runtime that referenced this pull request Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant