use the same commit logic used in vs package