I thought it would be simple to see the changes between two related branches, but apparently that's not the case here for some reason.
This makes perfect sense to me:
I requested all commits from releng/13.0, excluding the commits it shares with stable/13, and that's what I got. The last commit listed will be the first commit on the new branch.
However, reversing the range results in confusing output:
Given that releng/13.0 branched from stable/13, their commit history should be the same, so that should yield only the changes on the stable/13 branch after releng/13.0 diverged, right? I also double-checked that I'm using
If releng/13.0 branched from stable/13, how is there a commit from the year 2008 in the stable/13 commit history that is not in the releng/13.0 commit history? It would be understandable if it was authored in 2008 and never committed until after releng/13.0 was created, but that does not appear to be the case. Any ideas what I am misunderstanding?
Note that this isn't specifically related to FreeBSD; I'm more interested in improving my understanding of git in this particular instance.
This makes perfect sense to me:
Code:
$ git log '--pretty=format:%cs %h%n' freebsd/stable/13..freebsd/releng/13.0 | tail -n 1
2021-02-04 638e531019f
However, reversing the range results in confusing output:
Code:
$ git log '--pretty=format:%cs %h%n' freebsd/releng/13.0..freebsd/stable/13 | tail -n 1
2008-02-26 f1ca4da6f79
..
, so it's not a simple matter of ..
vs ...
unfortunately.If releng/13.0 branched from stable/13, how is there a commit from the year 2008 in the stable/13 commit history that is not in the releng/13.0 commit history? It would be understandable if it was authored in 2008 and never committed until after releng/13.0 was created, but that does not appear to be the case. Any ideas what I am misunderstanding?
Note that this isn't specifically related to FreeBSD; I'm more interested in improving my understanding of git in this particular instance.