Angel Pagan showed up and the Giants went into a time warp. They went back to doing things right.

Made the right pitches. Made all the plays including a few fancy ones. Made it feel like old times - thanks to the presence of Pagan who played his first big-league game since May 25 the day he hit an inside-the-park walk-off home run that pulled the Giants into a first-place tie in the National League West.

That was many forgotten dreams ago.

Tim Lincecum and three relievers combined for a shutout in the Giants' 1-0 victory over the Diamondbacks on Friday night perhaps making their fans wonder what might have been if Pagan hadn't missed 84 games a stretch in which the Giants went 32-52 and dropped to the cellar.

"I've been waiting for this moment for so long" Pagan said. "And I'm so happy to be back with the guys and help them anyway I can."

Pagan wasted no time in his comeback game smoking the third pitch of the night over right fielder Gerardo Parra for a double. Right out of the how-to-manufacture-a-run handbook Marco Scutaro sacrificed Pagan to third and Brandon Belt hit a medium-deep fly to center on which Pagan tagged and scored.

He slid with his left leg extended and quickly popped up showing no ill effects of his left hamstring surgery a good sign for a team that failed to find an adequate leadoff hitter in Pagan's absence.