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

Problem with empty lines in .git-credentials

From
DDirk <dirk@ed4u.de>
Date
Apr 25, 2020, 15:31 UTC
Message-ID
<ad80aa0d-3a35-6d7e-7958-b3520e16c855@ed4u.de>
Hello everybody,
I am using  latest ubuntu patch git 1:2.17.1-1ubuntu0.7:

It seems empty lines in .git-credentials files are now misinterpreted as bad urls. Removing an empty line in this file removed the problem for me (see my answer in https://stackoverflow.com/a/61420852/5005936).

Maybe you should review one of the latest patches. I propose to ignore empty lines or maybe also ignore comment lines starting with #.

Thank you very much Dirk

Message 1 of 1 in “Problem with empty lines in .git-credentials”
  1. DirkApr 25, 2020

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.