SAN FRANCISCO (AP) – Brandon Crawford singled in Matt Duffy with two outs in the 10th inning, and the surging San Francisco Giants beat the San Diego Padres 4-3 Wednesday for their 13th win in 14 games.

Duffy singled off Brad Hand (1-2) with one out, pinch-hitter Hunter Pence popped out, Duffy advanced on a wild pitch and Crawford hit a 1-2 offering over center fielder Jon Jay as Duffy scored standing up.

Crawford also singled and scored after some alert baserunning in the second inning. Duffy and Denard Span drove in runs for the NL West-leading Giants.

San Francisco completed a three-game sweep, extended its winning streak to five and improved to 9-0 against the Padres this season. The Giants’ two walkoff wins in the series were against Hand.