scm: fix diffs do not handle one line new files properly (#7618).
Authored by: tmaruyama 2011-02-23
Parent: [r4928]
Child: [r4930]