Skip to content

Inbound links to specific git version docs broken, should at least redirect to the closest version #1927

@vassudanagunta

Description

@vassudanagunta

URL for broken page

https://git-scm.com/docs/diff-options/2.15.0

Problem

This page was linked to by a StackOverflow answer and recently reported dead.

I can see why git-scm.com/docs would not want to have every patch release in the dropdown on that page, but dead links are bad for the internet, and should be avoided when possible, at the very least by a reasonable redirect.

Alternatives:

  1. keep the pages for every patch release, but simply only keep the latest patch versions in the drop down as you have today.
  2. redirect URLs to the removed patch versions to the more recent version that replaces it in the historical docs. In the above case, docs/diff-options/2.15.0 would redirect to docs/diff-options/2.15.4
  3. A better 404 page, e.g. that suggests a link to most relevant alternate page.

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