Commit 81ca704
committed
Auto merge of #13696 - arlosi:gitoxide-list-files-default, r=weihanglo
Switch to using gitoxide by default for listing files
### What does this PR try to resolve?
Uses gitoxide by for listing the contents of a git repository by default. Fixes #10150
It's possible out-opt of this change with the environment variable `__CARGO_GITOXIDE_DISABLE_LIST_FILES=1`. This opt-out mechanism is temporary and will be removed before the next release.
### How should we test and review this PR?
The newly added test fails with the `git2` implementation.File tree
4 files changed
+43
-14
lines changed- src/cargo
- core
- ops
- sources
- tests/testsuite
4 files changed
+43
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
908 | 908 | | |
909 | 909 | | |
910 | 910 | | |
911 | | - | |
912 | | - | |
913 | 911 | | |
914 | 912 | | |
915 | 913 | | |
| |||
923 | 921 | | |
924 | 922 | | |
925 | 923 | | |
926 | | - | |
927 | 924 | | |
928 | 925 | | |
929 | 926 | | |
| |||
934 | 931 | | |
935 | 932 | | |
936 | 933 | | |
937 | | - | |
938 | 934 | | |
939 | 935 | | |
940 | 936 | | |
| |||
947 | 943 | | |
948 | 944 | | |
949 | 945 | | |
950 | | - | |
951 | 946 | | |
952 | 947 | | |
953 | 948 | | |
| |||
956 | 951 | | |
957 | 952 | | |
958 | 953 | | |
959 | | - | |
960 | 954 | | |
961 | 955 | | |
962 | | - | |
| 956 | + | |
963 | 957 | | |
964 | 958 | | |
965 | 959 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
536 | | - | |
537 | | - | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
146 | | - | |
147 | | - | |
148 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
149 | 150 | | |
150 | | - | |
151 | | - | |
152 | 151 | | |
| 152 | + | |
| 153 | + | |
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3510 | 3510 | | |
3511 | 3511 | | |
3512 | 3512 | | |
| 3513 | + | |
| 3514 | + | |
| 3515 | + | |
| 3516 | + | |
| 3517 | + | |
| 3518 | + | |
| 3519 | + | |
| 3520 | + | |
| 3521 | + | |
| 3522 | + | |
| 3523 | + | |
| 3524 | + | |
| 3525 | + | |
| 3526 | + | |
| 3527 | + | |
| 3528 | + | |
| 3529 | + | |
| 3530 | + | |
| 3531 | + | |
| 3532 | + | |
| 3533 | + | |
| 3534 | + | |
| 3535 | + | |
| 3536 | + | |
| 3537 | + | |
| 3538 | + | |
| 3539 | + | |
| 3540 | + | |
| 3541 | + | |
| 3542 | + | |
| 3543 | + | |
| 3544 | + | |
| 3545 | + | |
0 commit comments