-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backport): comment error when target not found
When the target cannot be found on remote, then the git fetch fails with: (example for `maintenance/8.1`) ``` fatal: couldn't find remote ref maintenance/8.1 'git fetch origin maintenance/8.1' failed with exit code 128 ``` We can improve this by throwing a special error and handling it explicitly by commenting on the original pull request about this situation. We can also help the user figure out how to resolve the problem by making it clear that a branch with that name should exist. (cherry picked from commit f16f704)
- Loading branch information
Showing
2 changed files
with
38 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters