-
Notifications
You must be signed in to change notification settings - Fork 673
Minor fixes #602
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Minor fixes #602
Changes from all commits
2ee329e
3c4c4a6
9b5598d
91822ce
8c6c003
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| @echo off | ||
| setlocal | ||
|
|
||
| git checkout main | ||
| if errorlevel 1 exit /b 1 | ||
|
|
||
| git fetch -ap upstream | ||
| if errorlevel 1 exit /b 1 | ||
|
|
||
| git fetch -ap | ||
| if errorlevel 1 exit /b 1 | ||
|
|
||
| git rebase upstream/main | ||
| if errorlevel 1 exit /b 1 | ||
|
|
||
| git push | ||
| if errorlevel 1 exit /b 1 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| git checkout main | ||
| git fetch -ap upstream | ||
| git fetch -ap | ||
|
Comment on lines
+5
to
+6
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion (performance): Avoid redundant fetch/prune operations in update script Running |
||
| git rebase upstream/main | ||
| git push | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion: Warning log on bind-only host might be too noisy for common configurations
Since
0.0.0.0/::is a very common bind address, this warning will fire on every WebSocket connection and clutter logs, even though the situation is handled by remapping tolocalhost. Consider reducing it to info/debug level, or ensuring it only logs once (e.g., per process or per URL) instead of per connection.