separate root commit from child commit