Both correct, but this reads easier.

When the commit message is longer than the change, you know you're just
procrastinating.