Commit 94dde8c
committed
pacman-helper quick_add: verify that the old/new Pacman repos are in sync
Git for Windows' current Pacman repository is hosted on Azure Blobs.
The intended new Pacman repository is actually a Git repository hosted
on GitHub: https://github.com/git-for-windows/pacman-repo
The `pacman-helper.sh` script was taught in the preceding commit to
update both synchronously, not just the Azure Blobs one.
To ensure that this is all working as intended, let's make extra certain
that these two Pacman repositories have not diverged before making any
changes.
This uncovered a bug where the `sanitize_db` function would update the
signature file even if that was not desired nor necessary. We fix that
here because said "are we in sync?" check would otherwise fail.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 3fca5c7 commit 94dde8c
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
167 | 171 | | |
168 | 172 | | |
169 | 173 | | |
| |||
340 | 344 | | |
341 | 345 | | |
342 | 346 | | |
| 347 | + | |
343 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
344 | 356 | | |
345 | 357 | | |
346 | 358 | | |
| |||
0 commit comments