Commit 22e7f33
committed
Set +x in index in gix-worktree-state make_mixed* fixtures
This adds `git update-index --chmod=+x` commands to the
`make_mixed`, `make_mixed_without_submodules`, and
`make_mixed_without_submodules_and_symlinks` fixtures used in
gix-worktree-state `tests/state/checkout.rs` tests, so that files
are staged and committed with the intended modes.
The tests were actually passing before this change, but making it
verifies that the tests still work even when the repository is as
assumed. (Also, some of those tests are recently enabled or made
more expansive on Windows, due to the preceding commit that makes
them test symlinks, where applicable, on all platforms.)1 parent d715e4a commit 22e7f33
File tree
3 files changed
+3
-0
lines changed- gix-worktree-state/tests/fixtures
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
0 commit comments