Repository navigation
Commit 2ce360b
committed
Fix $git typo in shared.bat that broke Windows cache invalidation
The git revision lookup in bin/internal/shared.bat used $git instead
of git, which is invalid cmd.exe syntax. This caused the revision to
always be empty, making the compile key degenerate to the constant
":" on Windows. As a result, git-revision-based invalidation of the
flutter_tools snapshot never worked on Windows since version 3.29.0.
Also quote %FLUTTER_ROOT% to handle paths with spaces, consistent
with the pre-flutter#159424 code.
Fixes flutter#1879071 parent 764a079 commit 2ce360b
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- bin/internal
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
0 commit comments