Last season, Petit set a Major League record by retiring 46 batters in a row. On Friday, he retired all six batters he faced in the Giants' 12-3 win against the Rangers at Surprise Stadium.
Petit is on track to return to the bullpen, but he could end up in the starting rotation sometime during the regular season.
"I'm waiting for my opportunity. I'm ready for any job they give me," Petit said. "Whatever they give me, I'm going to try to make it my job."
The Rangers did not register a hit until the sixth inning, a single by Carlos Corporan. The Giants' offense did not waste any time against Rangers starter Nick Tepesch.
Third baseman Casey McGehee and first baseman Travis Ishikawa scored on triple by designated hitter Brandon Crawford off Tepesch to give the Giants an early 2-0 lead in the first. Shortstop Matt Duffy scored the first of five runs in the second with a home run to left field in the second inning to push the Giants ahead, 7-0.
In the end, Tepesch was charged with seven runs on seven hits in 1 1/3 innings. He walked one batter before yielding to Edwar Cabrera.
"I was just trying to attack hitters and get ahead of hitters," Tepesch said. "They took advantage of my mistakes. I didn't really have good command. They put some good swings on some balls."
The Giants tacked on two more runs in the top of the fifth on a double by right fielder Juan Perez to extend the lead to 9-
Giants outfielder Gary Brown homered in the eighth off Chad Bell.
The Giants improve to 2-2 with the victory. The Rangers remain winless after three games.
Up next: Saturday's game between the Rangers and Brewers will be broadcast on MLB Network with Milwaukee's television feed airing in the Dallas/Fort Worth market on a one-hour delay starting at 3 p.m. (CT). Ross Detwiler will start for the Rangers. The Brewers will send Wily Peralta to the mound.
Jesse Sanchez is a national reporter for MLB.com. Follow him on Twitter @JesseSanchezMLB. This story was not subject to the approval of Major League Baseball or its clubs.