Suppose your git commit history looks like this:
A---B---C---D---E---F master \\ / X---Y---Z topic
Is it possible to hav
git log has option --first-parent, so you won't get topic history.
git log
--first-parent
topic
When merged from master, the master commits are the first parents in merge. Git log allows to display only those commits with --first-parent, so you get the right stuff.
master