ensure commit contains all modifications