That brought up Hundley, who sent a pitch down the right field line for the key blow.
Nick Vincent (4-2) hurled a scoreless top of the seventh to earn the decision and Huston Street collected his 29th save as San Diego picked up its fifth win in six games.
Colorado's Ian Kennedy pitched well in a no-decision, allowing two runs (one earned) on five hits while striking out seven in five innings.
Jordan Pacheco and Michael Cuddyer each drove in a run for the Rockies.
Florida bear attack: Black bear mauls woman's face
Toddler uninjured after being knocked over by Obama family dog