Skip to content

URLs in example code are broken #6570

@mslinn

Description

@mslinn

The libgit2 example code has many URLs that do not point to anything anymore.

For example, README.md contains this URL: http://libgit2.github.com/libgit2/ex/HEAD/general.html
The URL redirects to https://libgit2.org/

Here is another example, taken from general.c:

/**
 * ### Config Files
 *
 * The [config API][config] allows you to list and update config values
 * in any of the accessible config file locations (system, global, local).
 *
 * [config]: http://libgit2.github.com/libgit2/#HEAD/group/config
 */

The URL (http://libgit2.github.com/libgit2/#HEAD/group/config) redirects to https://libgit2.org/#HEAD/group/config, which just shows the libgit2.org front page.

  1. Where might the information that the author intended be found?
  2. The URLs should be corrected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions