github在章鱼合并( https://github.com/ceph/ceph/commit/e54834bfac3c38562987730b317cb1944a96005b )上显示的差异与仅与此章鱼合并( https://github.com/ceph/ceph/compare/firefly...firefly-backports?expand=1 )不同的两个分支的差异不匹配。那是为什么?
发布于 2015-02-28 17:43:19
github上合并提交的差异显示当前提交与第一个父级之间的差异(换句话说,合并应用于签出分支的内容)
因此,它将是这个diff:https://github.com/ceph/ceph/compare/e539971e2d528b4de6009ea44565f037acb2be66...firefly-backports
github在https://github.com/ceph/ceph/compare/firefly...firefly-backports?expand=1中显示的是git diff firefly...firefly-backports
的输出,按手册是与这两个分支的共同祖先到萤火虫后端端的不同之处。由于这些分支是不同的,这些分支的共同祖先实际上是https://github.com/ceph/ceph/commit/555cc42fc826fd801f0d45187429079d4072d129。
所以你在这个比较中看到的是从555cc42到萤火虫背靠背的所有变化。
https://stackoverflow.com/questions/28784385
复制相似问题