Repository navigation
Commit 151df5a
committed
Propagate git failures from refresh-repository.php
The refresh helper ignored the exit status of both `git checkout` and
`git pull` and always exited 0. Now that sync-repository.sh execs it and
peek.php shows one status per repository, a failed refresh was rendered
as a success and the git error was hidden. Exit with the failing git
command's status instead, so the lane shows the failure and xargs and
Composer see it too.1 parent d4e34d2 commit 151df5a
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments