With git, why does `rbt post` send a cumulative diff of the branch heads?

ยอดดู 9 ครั้ง
ข้ามไปที่ข้อความที่ยังไม่อ่านรายการแรก

Michael van der Kamp

ยังไม่อ่าน,
8 พ.ย. 2564 18:05:528/11/64
ถึง Review Board Community
I noticed that `rbt post` sends a cumulative diff along with the individual commit diffs, and this diff is generated using the syntax `git diff A..B`. I have a couple questions:
  1. What is the purpose of this cumulative diff?
  2. This generates a diff between the current state of `A` against the current state of `B`, which can extremely large if `A` has progressed since `B` was branched off of it. Why is this needed? Why not just compare against the merge-base of `A` and `B`, e.g. by doing `git diff A...B` instead?
Cheers!

Michael van der Kamp

ยังไม่อ่าน,
8 พ.ย. 2564 18:19:368/11/64
ถึง Review Board Community
ตอบทุกคน
ตอบกลับผู้สร้าง
ส่งต่อ
ข้อความใหม่ 0 รายการ