The Giants added a veteran shortstop Tuesday when they acquired Zack Cosart and prospect Will Wilson in a trade with the Angels for a player to be named later or cash considerations. Wilson was the prize of the deal, but there remains a possibility that Cozart could play a considerable role in San Francisco's middle infield this coming season.

As it turns out, though, the Giants reportedly went after a different veteran shortstop before pursuing the trade with the Angels. Didi Gregorius signed a one-year, $14 million contract with the Phillies on Tuesday, and according to NBC Sports Philadelphia's Jim Salisbury, Gregorius reportedly chose them over the Giants in part due to the presence of Phillies manager Joe Girardi.

Heard Gregorius chose Phillies over Giants and Brewers. Playing for Girardi again was big factor in decision.



Segura has played second base before. That is likely landing spot for him with Kingery at third, but Phils will consider all options in spring training. — Jim Salisbury (@JSalisburyNBCS) December 11, 2019

Gregorius previously played under Girardi with the Yankees, and it would appear they enjoyed their time together. While his offensive numbers might have been inflated somewhat by Yankee Stadium, Gregorius remains a standout defender and he was worth at least four WAR in both 2017 and 2018.

[RELATED: New Giants prospect Wilson already hates rival Dodgers]

The Giants absorbed the entirety of the $12.67 remaining on Cozart's contract, so there isn't much of a price difference between he and Gregorius. That said, the fact that San Francisco was able to acquire the Angels' No. 4 ranked prospect along with Cozart likely made that the more prudent acquisition.