Commit Graph
3 Commits
Author SHA1 Message Date
John Olheiser eb69c7ec8c Allow default branch to be inferred on compare page (#17908)
* Allow default branch to be inferred

Signed-off-by: jolheiser <[email protected]>

* Add test for inferred default branch

Signed-off-by: jolheiser <[email protected]>

Co-authored-by: Lunny Xiao <[email protected]>
2021-12-06 11:04:07 -06:00
zeripath 206ea10b45 Prevent NPE on invalid diff (#17197)
* Prevent NPE on invalid diff

If ParseCompareInfo returns a nil compare info the defer function needs to ensure
that it does not attempt to close the HeadGitRepo.

Fix #17193

Signed-off-by: Andrew Thornton <[email protected]>

* add TEST

Co-authored-by: 6543 <[email protected]>
2021-09-30 21:31:02 +02:00
Jonathan Tran 9557b8603a Add selecting tags on the compare page (#15723)
* Add selecting tags on the compare page

* Remove unused condition and change indentation

* Fix tag tab in dropdown to be black

* Add compare tag integration test

Co-authored-by: Jonathan Tran <[email protected]>
2021-05-07 23:10:05 +02:00