Skip to content

location/follow: mention netrc#21091

Closed
bagder wants to merge 2 commits intomasterfrom
bagder/follow-netrc
Closed

location/follow: mention netrc#21091
bagder wants to merge 2 commits intomasterfrom
bagder/follow-netrc

Conversation

@bagder
Copy link
Copy Markdown
Member

@bagder bagder commented Mar 25, 2026

No description provided.

@bagder bagder marked this pull request as ready for review March 25, 2026 09:32
@bagder bagder requested a review from Copilot March 25, 2026 09:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the --location and --follow command-line option documentation to better describe how authentication behaves when following redirects, specifically calling out interaction with --netrc.

Changes:

  • Refines --location redirect/auth wording to distinguish command-line-provided authentication behavior.
  • Adds a note to both --location and --follow docs that --netrc may supply credentials for redirect target hosts.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/cmdline-opts/location.md Clarifies auth forwarding wording and documents --netrc behavior when redirects are followed.
docs/cmdline-opts/follow.md Documents --netrc credential selection behavior for redirect targets when using --follow.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@bagder bagder closed this in 0c14ed6 Mar 26, 2026
@bagder bagder deleted the bagder/follow-netrc branch March 26, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants