Include PR template in PR description if there is just one commit#2846
Conversation
| } | ||
| } | ||
|
|
||
| return 0; |
There was a problem hiding this comment.
I wasn't too sure how to handle the case where this.compareBranch == null. Advice appreciated!
There was a problem hiding this comment.
When the upstream is undefined we can use the git API to get the number of changes. I have added that.
| } | ||
| } | ||
|
|
||
| return 0; |
| } | ||
| } | ||
|
|
||
| return 0; |
There was a problem hiding this comment.
When the upstream is undefined we can use the git API to get the number of changes. I have added that.
|
For what it's worth, this doesn't seem to be working for me in v0.29.3. apollographql/apollo-server#5639 is an example of a single-commit PR I just make where I had to put the commit message in the description manually. |
|
We have not yet made our August Milestone release yet (more info on the timing of our releases: https://github.com/microsoft/vscode-pull-request-github/wiki#4-when-will-the-next-release-occur) |
|
Ah, OK — I thought that v0.29.3 was after this fix merged and that's what my VSCode is running though. |
Fixes #2540