With git, why does `rbt post` send a cumulative diff of the branch heads?
13 views
Skip to first unread message
Michael van der Kamp
unread,
Nov 8, 2021, 6:05:52 PM11/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to 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:
What is the purpose of this cumulative diff?
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
unread,
Nov 8, 2021, 6:19:36 PM11/8/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message