Yes, I see this behavior too. The --follow option disables parent
rewriting, which gitk and "git log --graph" both rely on in this
instance.
Without --follow, the revision list is first pruned, and then the
parents are rewritten to include only those in the pruned list. The
revision walk then occurs only over the pruned list.
With --follow, the revision list is not pruned, so parent rewriting
doesn't happen (and even if it did, I don't think it would have any
effect, since all commits are still in the list). Instead, the
revision walk traverses all commits, but the log-tree/diff code simply
doesn't print any output for commits that aren't relevant.
I'm not familiar enough with the diff code to know the best way to fix
this. One possible way might be to perform an extra revision walk in
revision.c before the "real" walk occurs. This initial walk would
perform all of the diff calculations performed by the real walk, but
only for the purpose of pruning the list. Then parent rewriting could
be done, and the "real" revision walk would only walk over the pruned
list.
--
Adam Simpkins
adam@adamsimpkins.net
--