Fixed XML comments.
Set oldTree as EmptyTreeIterator of DiffCommand if HEAD is missing.