James McCann hit a two-run homer in a six-run sixth inning, Zac Gallen threw six strong innings and the Arizona Diamondbacks beat San Francisco 8-1 in Phoenix on Monday to leapfrog the Giants in the National League wild-card race.
McCann homered for the second straight game and Ildemaro Vargas had a two-run single to ignite the sixth-inning rally against Matt Gage (0-1) and two other Giants relievers.
Geraldo Perdomo singled, doubled, tripled, walked twice and drove in two runs for the D-backs. His triple capped the big sixth, and he doubled home the final run in the eighth.
Gallen (12-14) gave up two hits and one run, Casey Schmitt's homer in the third. He struck out six and walked one for his fifth victory in his past seven decisions.
The D-backs (76-75) won their fourth game in the