resolve correctly sha revision