git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Jeff King <peff@peff.net>
Date
Jan 8, 2014, 07:16 UTC
Message-ID
<20140108071606.GA2859@sigill.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
Previous: Li Zhang
Message 2 of 2 in “It seems there is a very tight character count limit in .gitconfig”
  1. Li ZhangJan 8, 2014
  2. Jeff KingJan 8, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.