I tried to add url xxx insteadof xxx in .gitconfig. If the length of url exceed 125, git will not work. I am using Ubuntu. The default version is 1.7.9.5. Maybe the latest version solve this already.
threads / discuss / 35625
It seems there is a very tight character count limit in .gitconfig
Subject: It seems there is a very tight character count limit in .gitconfig
Re: It seems there is a very tight character count limit in .gitconfig
On Wed, Jan 08, 2014 at 02:59:37PM +0800, Li Zhang wrote:
> I tried to add url xxx insteadof xxx in .gitconfig. If the length of > url exceed 125, git will not work. > I am using Ubuntu. The default version is 1.7.9.5. Maybe the latest > version solve this already.
Yes, this was fixed in 0971e99 (Remove the hard coded length limit on variable names in config files, 2012-09-30). Git v1.8.0.1 and higher contain that commit.
-Peff