Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve git error messages a bit #8409

Merged
merged 1 commit into from
Jun 25, 2020
Merged

Commits on Jun 25, 2020

  1. Improve git error messages a bit

    This commit is targeted at further improving the error messages
    generated from git errors. For authentication errors the actual URL
    fetched is now printed out as well if it's different from the original
    URL. This should help handle `insteadOf` logic where SSH urls are used
    instead of HTTPS urls and users can know to track that down.
    
    Otherwise the logic about recommending `net.git-fetch-with-cli` was
    tweaked a bit and moved to the same location as the rest of our error
    reporting.
    
    Note that a change piggy-backed here as well is that `Caused by:` errors
    are now automatically all tabbed over a bit instead of only having the
    first line tabbed over. This required a good number of tests to be
    updated, but it's just an updated in renderings.
    alexcrichton committed Jun 25, 2020
    Configuration menu
    Copy the full SHA
    6514c28 View commit details
    Browse the repository at this point in the history