Tim Lincecum had one no-hitter under his belt coming into Thursday’s series finale with the Milwaukee Brewers at AT&T Park and he wound up coming awfully close to throwing another.

The Brewers managed just one hit over eight innings against Lincecum a leadoff double in the third inning by Juan Francisco before eventually falling to the Giants 4-1.

Lincecum allowed just two baserunners all day – Francisco’s double and a walk to Jeff Bianchi in the sixth inning.

Francisco was stranded after a pair of flyouts and a groundout in the third.

Bianchi stole second to get into scoring position with one out but Lincecum struck out Francisco and Yuniesky Betancourt to end the inning.

Lincecum (6-11) struck out eight overall in a 108-pitch day before making way for Sandy Rosario in the ninth.

Khris Davis hit a pinch-hit double off him to open the frame leading to two more pitching changes by manager Bruce Bochy.

Jean Segura greeted the second of those two pitchers closer Sergio Romo with a single that drove in Davis and broke up the shutout.