From: Jacob Keller <jacob.kel...@gmail.com>
This will be used by a future patch which implements a diff mode for
submodule display. Without this, the diff output would incorrectly
display when using both -p and --graph during a git-log.