# It seems there is a very tight character count limit in .gitconfig

2 messages from 2014-01-08 to 2014-01-08. Participants: Li Zhang, Jeff King.
Thread: https://gitlist.dev/t/35625

## Li Zhang, 2014-01-08 06:59

Subject: It seems there is a very tight character count limit in .gitconfig
Message-ID: <CAFc+-Siu1nyBMWvUG52SXdoMPWE-NZ7GAjWe9C-W=z-MWnn5zg@mail.gmail.com>
URL: https://gitlist.dev/e/CAFc%2B-Siu1nyBMWvUG52SXdoMPWE-NZ7GAjWe9C-W%3Dz-MWnn5zg%40mail.gmail.com

```
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.

```

## Jeff King, 2014-01-08 07:16

Subject: Re: It seems there is a very tight character count limit in .gitconfig
Message-ID: <20140108071606.GA2859@sigill.intra.peff.net>
URL: https://gitlist.dev/e/20140108071606.GA2859%40sigill.intra.peff.net
In-Reply-To: <CAFc+-Siu1nyBMWvUG52SXdoMPWE-NZ7GAjWe9C-W=z-MWnn5zg@mail.gmail.com>

```
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

```
