SAN FRANCISCO -- The Giants flirted with unchartered territory Wednesday before they rediscovered their winning ways in a 7-5 decision over the Pittsburgh Pirates.
A two-run rally in the seventh inning erased a one-run deficit and propelled the Giants to a victory over the Pirates in the final game of the homestand.
The Giants had lost six straight games overall before Wednesday's win, which matched a season-high. Beating the Pirates also helped the Giants avoid the ignominious distinction of losing every game of a homestand that featured at least six games for the first time since the franchise moved here in 1958.
The offense-starved Giants clicked from the outset Wednesday.
Brandon Crawford started a three-run rally in the first inning with a line-drive single to right field.
The next five batters contributed two infield singles, two walks and a soft liner that just cleared the glove of leaping shortstop Jordy Mercer for another single.
Just like that, the Giants led 3-0. That modest outburst represented half the runs the Giants scored in their previous six games combined.
Nothing comes easy for the Giants these days, though. So it was that the Pirates tied the game with a run in the second and two more in the third off starter Tim Lincecum.
The Giants remained undeterred. They responded with a tiebreaking run in the bottom of the third.
Rookie Andrew Susac capped the rally with a bases-loaded single for his first major-league hit and RBI. The sold-out crowd saluted Susac with a standing ovation.
The Pirates wasted little time bouncing back as Mercer followed a one-out single by Travis Snider with a home run to give the Pirates their first lead of the day.
Lincecum's day ended one batter later after he walked No. 8 hitter Chris Stewart. The 3 1/3 innings marked his shortest outing of the season, other than his two-out save July 22.
The Giants stayed quiet until the seventh, when Joe Panik and Gregor Blanco recorded back-to-back singles, with Blanco's scoring Michael Morse with the game-tying run.
Panik gave the Giants a 6-5 lead when he dashed home on a wild pitch by Justin Wilson. Catcher Stewart appeared to have time to make a play, but he rushed his throw and is sailed past Wilson.
Pablo Sandoval capped the scoring with an RBI single in the eighth. Santiago Casilla allowed a one-out single in the ninth inning before he notched his eighth save.
(c)2014 The Oakland Tribune (Oakland, Calif.)
Visit The Oakland Tribune (Oakland, Calif.) at www.insidebayarea.com
Distributed by MCT Information Services