main: Simplify the "Diff->SHA-1" action