Skip to content

Conversation

n7800
Copy link

@n7800 n7800 commented Sep 14, 2025

On the page "101 Samples" a lot of non-working links have been fixed:

  • Old functions:
    • git_clone_into (was removed in baac01c).
    • git_oid_allocfmt (was removed in 66ac3ce).
    • git_config_get_multivar replaced by git_config_get_multivar_foreach
  • Deprecated functions/types:
    • git_otype
    • git_blob_filtered_content
    • git_blob_create_fromworkdir
    • git_blob_create_fromdisk
    • git_blob_create_frombuffer
  • Repetition of the lines.

I see that in the links it is mainly use #HEAD, but in some it did not work, and I just indicated main.

I don’t know whether the correction of links is needed everywhere, or some kind of correction of a redirection (maybe docs\search-index\main.json)? In this case, please make corrections as it should.

@n7800
Copy link
Author

n7800 commented Sep 14, 2025

Some examples still use deprecated functions, they might need to be updated.

@n7800
Copy link
Author

n7800 commented Sep 14, 2025

I don’t know whether the correction of links is needed everywhere, or some kind of correction of a redirection (maybe docs\search-index\main.json)? In this case, please make corrections as it should.

Just an example: link 1 redirects to 2, but should point to 3:

  1. http://libgit2.org/libgit2/#HEAD/type/git_treewalk_mode
  2. https://libgit2.org/docs/reference/main/treewalk/git_treewalk_mode
  3. https://libgit2.org/docs/reference/main/tree/git_treewalk_mode

And another one:

  1. http://libgit2.org/libgit2/#HEAD/group/treebuilder/git_treebuilder_new
  2. https://libgit2.org/docs/reference/main/treebuilder/git_treebuilder_new
  3. https://libgit2.org/docs/reference/main/tree/git_treebuilder_new.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant