When the Dodgers fell behind 2-0 in the second inning tonight to the Giants, and you thought the game was over, you were wrong, but your pessimism would be understandable.

The Dodgers hadn’t taken the lead after trailing by at least two runs in a game since way back on June 12 in Colorado. In fact, in 29 games between then and tonight, Los Angeles had only scored more than two runs in an entire game 14 times.

Tonight, the Dodgers came back right in the top of the third, with an RBI double by Tony Gwynn Jr. and a two-run single by Rafael Furcal, his first hit since July 8. They had a 3-2 lead. Just like that.

And then, after Juan Rivera overran first base on his single and was thrown out, 16 Dodgers in a row went down against San Francisco 21-year-old Madison Bumgarner. Rubby De La Rosa showed his stuff but couldn’t hold the lead, and then Hong-Chih Kuo couldn’t hold the tie, and the Dodgers fell behind in the bottom of the seventh, 5-3.

That meant the Dodgers would have to do twice in one game what they hadn’t done once in the previous six weeks: rally from down two runs to go ahead.

Brian Wilson came in to pitch the ninth inning for San Francisco and retired the first two batters, before Matt Kemp singled to end a 10-pitch at-bat, his first career hit against Wilson.

Andre Ethier, out of the starting lineup to rest his knee, came up to pinch-hit as the tying run. But he flied out, sealing the Dodgers’ 5-3 loss. The Dodgers trail San Francisco by 14 1/2 games, their biggest deficit since the end of the 2003 season.

The Giants pitched seven perfect innings out of nine. But the Dodgers had that one comeback.  No one can take that away. Not that anyone would bother to try.