Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork939
Commit537af83
authored
Only set safe.directory on Cygwin (which needs it)
This stops setting the current directory as an explicit safedirectory on CI for non-Windows systems, where this is not neededbecause the repository has the ownership Git expects. The step nameis updated accordingly to reflect its now narrower purpose.This also adds shell quoting to $(pwd) in the Cygwin workflow. Inpractice, on CI, the path is very unlikely to contain whitespace,but double-quoting $ expansions on which splitting and globbing areunwanted is more robust and better expresses intent. This also hasthe benefit that users who use the CI workflows as a guide tocommands they run locally, where on Windows they may very well havespaces somewhere in this absolute path, will use a correct command.1 parent830025b commit537af83
2 files changed
+5
-6
lines changedLines changed: 3 additions & 3 deletions
Original 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 |
| |
|
Lines changed: 2 additions & 3 deletions
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
Comments
(0)