The slumping Giants were rewarded for their sustained effort Thursday with a 4-2 triumph over the San Diego Padres. San Francisco's two-run uprising broke an eighth-inning tie and made a winner of Madison Bumgarner, who worked seven scintillating innings.