threads / discuss / 53320

Problem with empty lines in .git-credentials

Subject: Problem with empty lines in .git-credentials

## tl;dr

One message between Apr 25, 2020 and Apr 25, 2020.

replies: 0people: 1as markdown or json

Dirk· Apr 25, 2020, 15:31 UTC · lore
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

← back to recent threads