support multiple commits, fix for All option not working correctly