論理的には1行でコミットを取得できますが、そうすることで履歴を書き換えます。
これは、gitの各リビジョンがチェックサムに親IDを含むため、コミットのID(SHA1チェックサム)が異なることを意味します。これがgitを暗号的に安全にするものです(スナップショットからルートコミットまでのリポジトリ全体の整合性を簡単に検証できます)。
同じ「論理的」コミットを含むが、別のコミットにリベースまたはチェリーピックされたブランチを比較するには、次のようにします。
log --left-right --graph --oneline --cherry-pick BRANCH1 BRANCH2
git rev-listのマンページ(とりわけ)が説明しているように、--cherry-pick
原因は
--チェリーピック
Omit any commit that introduces the same change as another commit on
the "other side" when the set of commits are limited with symmetric
difference.
For example, if you have two branches, A and B, a usual way to list all
commits on only one side of them is with --left-right (see the example
below in the description of the --left-right option). It however shows
the commits that were cherry-picked from the other branch (for example,
"3rd on b" may be cherry-picked from branch A).
With this option, such pairs of commits are excluded from the output.