1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Use beforeCommit instead of baseCommit (#22949)

Replaces: https://github.com/go-gitea/gitea/pull/22947
Fixes https://github.com/go-gitea/gitea/issues/22946
Probably related to https://github.com/go-gitea/gitea/issues/19530

Basically, many of the diffs were broken because they were comparing to
the base commit, where a 3-dot diff should be comparing to the [last
common
ancestor](https://matthew-brett.github.io/pydagogue/git_diff_dots.html).

This should have an integration test so that we don’t run into this
issue again.

---------

Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
This commit is contained in:
Kyle D
2023-02-19 20:56:07 -07:00
committed by GitHub
parent 6840a8ccfc
commit 2b3f12f6fd
20 changed files with 110 additions and 11 deletions

View File

@@ -0,0 +1,3 @@
x<01><>An<41>0EY<45>s<01>=v2FB v=D5<44>';U<>T<EFBFBD><54><EFBFBD>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Z묀<0F><><EFBFBD>%<25>P(z<1E><><1D><><EFBFBD>p<EFBFBD>D<EFBFBD>%8<>!8[<5B>/o<>r<14>R<EFBFBD>1F<31>p<EFBFBD>HS.<12><><EFBFBD><EFBFBD><1D>3<EFBFBD>$<24><>]<1F><06><>E<EFBFBD><06>g<EFBFBD><67>ڴ<EFBFBD><DAB4>{<7B>y9<79><39>~<7E>{ <09><01>v<EFBFBD><76><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD><53>gn<67><6E>
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>_<EFBFBD><EFBFBD><EFBFBD>2<EFBFBD><EFBFBD><EFBFBD>c6tuI<75>