The Giants acquired left-handed pitcher David Huff from the Yankees in exchange for cash considerations Friday.
Huff, 29, was designated for assignment by New York on Wednesday after the club signed Japanese right-hander Masahiro Tanaka.
Over parts of five seasons in the big leagues, Huff has appeared in 69 games (54 starts) and posted a 5.32 ERA in 323 innings. As a rookie with the Indians in 2009, he led the club with 11 wins. The Yankees acquired him off waivers from Cleveland last May.
San Francisco has now filled its 40-man roster and will have 66 players in Major League Spring Training camp.
Austin Laymance is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.