Skip to content

Commit

Permalink
Fix git-scm.com links
Browse files Browse the repository at this point in the history
The anchors in [git-config](https://git-scm.com/docs/git-config) have changed.
  • Loading branch information
tigsikram committed Dec 13, 2023
1 parent 6c94277 commit a53bcf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/url_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ func NewURLConfig(git Environment) *URLConfig {
}

// Get retrieves a `http.{url}.{key}` for the given key and urls, following the
// rules in https://git-scm.com/docs/git-config#git-config-httplturlgt.
// rules in https://git-scm.com/docs/git-config#Documentation/git-config.txt-httplturlgt.
// The value for `http.{key}` is returned as a fallback if no config keys are
// set for the given urls.
func (c *URLConfig) Get(prefix, rawurl, key string) (string, bool) {
Expand Down
2 changes: 1 addition & 1 deletion docs/man/git-lfs-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ hook. You should set this if you're not using File Locking, or your Git
server verifies locked files on pushes automatically.
+
Supports URL config lookup as described in:
https://git-scm.com/docs/git-config#git-config-httplturlgt. To set this
https://git-scm.com/docs/git-config#Documentation/git-config.txt-httplturlgt. To set this
value per-host:
`git config --global lfs.https://github.com/.locksverify [true|false]`.
* `lfs.sshtransfer` / `lfs.<url>.sshtransfer`
Expand Down

0 comments on commit a53bcf2

Please sign in to comment.