Add a large splash of extra virgin olive oil to a medium pan. Press down with your palm on the unpeeled garlic cloves to crush them slightly, then add them to the pan along with the rosemary sprig. Let the oil infuse for 3 or 4 minutes, then fish out and discard the garlic and rosemary.