Commit 4c5c47d
committed
fixup! mingw: allow
The original test case obviously only worked in the x86_64 flavor of Git
for Windows (and since I rarely test on i686, this was not caught).
This completely breaks on Windows/ARM64:
+++ GIT_DIR=/dev/null
+++ git diff --no-index --ignore-cr-at-eol -- expect actual
diff --git a/expect b/actual
index e0dc09e..2301bbf 100644
--- a/expect
+++ b/actual
@@ -1,3 +1,3 @@
-MSYSTEM=CLANGARM64
+MSYSTEM=MINGW64
mingw64
usr
error: last command exited with $?=1
not ok 221 - MSYSTEM/PATH is adjusted if necessary
To fix that, let's rely on `MINGW_PREFIX` (falling back to constructing
it from `MSYSTEM`, defaulting to `MINGW64` if _that_ is unset, too).
Signed-off-by: Johannes Schindelin <[email protected]>git.exe to be used instead of the "Git wrapper"1 parent 7a18c63 commit 4c5c47d
1 file changed
+15
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
621 | 621 | | |
622 | 622 | | |
623 | 623 | | |
624 | | - | |
625 | | - | |
626 | | - | |
627 | | - | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
628 | 632 | | |
629 | 633 | | |
630 | 634 | | |
631 | 635 | | |
632 | | - | |
633 | | - | |
| 636 | + | |
| 637 | + | |
634 | 638 | | |
635 | 639 | | |
636 | 640 | | |
637 | | - | |
| 641 | + | |
638 | 642 | | |
639 | 643 | | |
640 | 644 | | |
641 | 645 | | |
642 | 646 | | |
643 | | - | |
644 | | - | |
645 | | - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
646 | 650 | | |
647 | | - | |
| 651 | + | |
648 | 652 | | |
649 | 653 | | |
650 | 654 | | |
| |||
0 commit comments