Commit b4f97f2
Fix PR description filled with commit body when multiple commits exist (#8635)
* Initial plan
* Fix PR description to match GitHub.com behavior for multiple commits
When creating a PR with multiple commits, GitHub.com leaves the
description empty but the extension was filling it with the last
commit's body. Only use the commit body in the description when
there is a single commit (useBranchName is false).
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/a47447af-78f0-4107-a46c-7750c8449c28
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>1 parent f14c055 commit b4f97f2
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
812 | | - | |
| 812 | + | |
| 813 | + | |
813 | 814 | | |
814 | 815 | | |
815 | 816 | | |
816 | | - | |
| 817 | + | |
817 | 818 | | |
818 | 819 | | |
819 | 820 | | |
| |||
0 commit comments