-
-
Notifications
You must be signed in to change notification settings - Fork 957
Commit 537af83
authored
Only set safe.directory on Cygwin (which needs it)
This stops setting the current directory as an explicit safe
directory on CI for non-Windows systems, where this is not needed
because the repository has the ownership Git expects. The step name
is updated accordingly to reflect its now narrower purpose.
This also adds shell quoting to $(pwd) in the Cygwin workflow. In
practice, on CI, the path is very unlikely to contain whitespace,
but double-quoting $ expansions on which splitting and globbing are
unwanted is more robust and better expresses intent. This also has
the benefit that users who use the CI workflows as a guide to
commands they run locally, where on Windows they may very well have
spaces somewhere in this absolute path, will use a correct command.1 parent 830025b commit 537af83
2 files changed
+5
-6
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 | - | ||
15 | + | ||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
27 | - | ||
28 | - | ||
27 | + | ||
28 | + | ||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
52 | 52 |
| |
53 | 53 |
| |
54 | 54 |
| |
55 | - | ||
56 | - | ||
57 | - | ||
55 | + | ||
56 | + | ||
58 | 57 |
| |
59 | 58 |
| |
60 | 59 |
| |
|
0 commit comments