Add missing reset command in the commit split procedure
Released under the WTFPL licence