Skip to content

commands: use Exit() function to exit with a warning message - #6095

Merged
larsxschneider merged 1 commit into
mainfrom
ls/exit
Aug 20, 2025
Merged

larsxschneider merged 1 commit into
mainfrom
ls/exit

Conversation

@larsxschneider

Copy link
Copy Markdown
Member

Replace the remaining os.Exit() calls with our Exit() wrapper for consistency. This change also alters the exit code for these exits from 1 to 2. This is irrelevant for the fetch code as it was not released, yet. The push code was shipped some time ago (#5086) and therefore we need to mention this change in the release notes.

Replace the remaining os.Exit() calls with our Exit() wrapper for
consistency. This change also alters the exit code for these exits from
1 to 2. This is irrelevant for the fetch code as it was not released,
yet. The push code was shipped some time ago (#5086)
and therefore we need to mention this change in the release notes.
@larsxschneider
larsxschneider merged commit 469c8da into main Aug 20, 2025
42 of 44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Sponsor
SponsoredKunjungi sekarang
Promo