Pinch-hitter Kelby Tomlinson's single broke a 12th-inning tie Friday night and enabled the San Francisco Giants to outlast the Arizona Diamondbacks, 7-6. The outcome kept the Giants a half-game ahead of the Mets for the National League's first Wild Card spot. St. Louis trails the Giants by a game. San Francisco stands four games behind the first-place Dodgers in the NL West.