better error message when git config fails to parse remote config

Rather than leaking the name of the temp file, just say the config parse
failed, and where the config was downloaded from.

Not closing the bug report because two issues were reported in the same
bug report, because the universe wants me to continually re-read old
unclosed bug reports to waste my time determining what still needs to be
done.
This commit is contained in:
Joey Hess 2020-01-22 13:20:06 -04:00
parent 6cc1f1dce9
commit 75059c9f3b
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 30 additions and 14 deletions

View file

@ -1,3 +1,5 @@
[[!meta title="http remotes that require authentication are not yet supported"]]
It is not a ground shaking issue, but probably would be best to handle it more gracefully.
Initially mentioned while doing install using datalad. Account/permission is required to access this particular repo, ask Canadians for access if you don't have it yet Joey. credentials I guess got asked for and cached by git upon initial invocation, so upon subsequent calls didn't ask for any:

View file

@ -0,0 +1,7 @@
[[!comment format=mdwn
username="joey"
subject="""comment 5"""
date="2020-01-22T17:04:09Z"
content="""
Error message has been improved.
"""]]