they had effectively replaced the shattered ridge-line , and they could almost certainly hold their fortifications in the face of whatever the enemy tried to throw at them for the rest of the summer .