The Giants entered Thursday night’s tilt against the Dodgers three games back in the National League West and in need of a spark to turn around their sluggish second half.

Left-hander Matt Moore, San Francisco’s biggest deadline acquisition, did his part to kindle the turnaround, coming within an out of throwing a no-hitter against the Dodgers. Corey Seager broke the bid with a bloop single to right field. Closer Santiago Casilla recorded the game’s final out, inducing a harmless fly out to seal the 4-0 victory and bring the Giants back to within two game of first place.

Moore’s near-historic performance was well-timed. Here’s what our Dayn Perry wrote earlier on Thursday about the Giants’ stretch drive goal:

San Fran starters not named Bumgarner or Cueto this season have registered a combined ERA of 4.88, which is, to put it charitably, sub-optimal. Jeff Samardzija‘s been excellent at times, but consistency has eluded him. Matt Moore still has stuff to dream on, if not the results. They’d seem to be the leading candidates to give the Giants’ useful innings. After all, Bumgarner and Cueto are but half of a playoff rotation, and that’s assuming the Giants get there. At this point, that’s not even remotely a safe assumption.

While Moore couldn’t quite complete the 18th no-hitter in franchise history, he did turn in his best start yet with the Giants. Keep in mind, he entered Thursday having allowed nearly five earned runs per nine through his first four starts with San Francisco.

Yet on Thursday, Moore struck out six batters and walked three, all the while, obviously, keeping the Dodgers off the scoreboard. It’s worth noting he required 133 pitches to get through his outing. That’s the most in the majors this season by any pitcher, blowing past the previous high of 124 established by Chi Chi Gonzalez. Moore’s previous personal high, for the record, was 120, set back in 2013.

Source: CBS Sports / Giants’ Matt Moore falls one out shy of a no-hitter against rival Dodgers