-
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pull: Verify the existence of the base branch
When creating a PR, we first query GitHub to check if the base branch exists, and show a more meaningful error when it doesn't. Fixes #92. Signed-off-by: Leandro Lucarella <[email protected]>
- Loading branch information
Showing
2 changed files
with
20 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
### Check if the base branch exists when creating a PR (#92) | ||
|
||
When creating a PR if the specified (or inferred) base branch doesn't exist, | ||
a very weird error message was printed. Now the branch existence is explicitly | ||
checked before attempting the PR creation. |