Apply Petr's fix for CVE-2016-2315 CVE-2016-2324 from el6 (#1318252)
As Petr noted in the patch, the upstream solution removed the
path_name() function entirely. However, it's too much work to backport
those changes to such old version of git without risk of behaviour
changes, so the patch causes git to die with error message instead when
paths exceed INT_MAX.
It's worth noting that the git package from rawhide is expected to
rebuild cleanly on EL-5, for anyone who wishes to update to the current
git release. For obvious reasons, we will not be pushing such
disruptive changes to EPEL.