Generally handle commits becoming empty