Commit 73977b4
Fix wrong file list when creating PR (#8468)
* Initial plan
* Initial analysis of wrong file list issue in PR creation
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Fix wrong file list when creating PR by initializing _compareBranch correctly
The constructor was incorrectly initializing _compareBranch to baseBranch
instead of the actual compareBranch parameter. This caused the file diff
comparison to potentially use wrong branches before setCompareBranch completed
its async initialization, resulting in displaying the wrong list of files
when creating a PR.
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Revert proposed changes
---------
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 d18dd77 commit 73977b4
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments