Padres 2, Giants 1

SAN DIEGO — Andrew Cashner pitched six effective innings and singled during San Diego's two-run third to outduel Tim Lincecum. Cashner retired his final 12 batters to avenge a 2-0 loss to Lincecum six days earlier. Cashner led off the third with a single (his second career hit), stole second, went to third on Chase Headley's two-out single and came home on Carlos Quentin's single. Headley scored on Yonder Alonso's single.