Commit 3829536
committed
fix(skills/update-stack): use HEAD blob + quoted path match in drift gate
- Replace `git hash-object "$f"` with `git rev-parse HEAD:"$f"` — compares
committed blobs rather than working-tree bytes (CRLF-safe, no false drift
from uncommitted changes post-merge)
- Replace `grep -qF "$f"` with `grep -qF "'$f'"` — matches the single-quoted
token in DOWNSTREAM_PATCHES.md to prevent substring false-positives
- Reword rules: remove misleading note about config/defaults auto-skip
(those paths are simply not in the scanned directories), clarify that
downstream-only files are never scanned
Per Copilot review on #37601 parent 8a6a1cb commit 3829536
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
| 121 | + | |
121 | 122 | | |
122 | 123 | | |
123 | 124 | | |
| |||
0 commit comments