Skip to content

Commit 65f69f7

Browse files
committed
doc: Fix some broken links to commit/blob URLs
A few of the links discovered to have been broken while updating them are easy to fix. This fixes those. They were broken due to changes in the repository structure or contents that were not fully reflected when the links were last updated. For example, when `git-*` crates were renamed to their current `gix-*` names, URLs were updated, but some of these were GitHub URLs where the commit hash was for a commit prior to the rename.
1 parent 64ff0a7 commit 65f69f7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

general-tasks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ don't support that as we would have to keep both the future and the parent that
88
pointers, one could implement the magical part by hand, a custom future, which happily dissolves into its mutable parent iter ref.
99
That would be quite some work though.
1010

11-
[WithSidebands]: https://github.com/GitoxideLabs/gitoxide/blob/fed6c69fd8b2877a66fe9d87916f3d54a3fc342b/gix-packetline/src/read/sidebands/async_io.rs#L197
11+
[WithSidebands]: https://github.com/GitoxideLabs/gitoxide/blob/64872690e60efdd9267d517f4d9971eecd3b875c/gix-packetline/src/read/sidebands/async_io.rs#L270
1212

1313
## Potential for improving performance
1414

gix-quote/src/ansi_c.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ use bstr::{BStr, BString, ByteSlice};
3434
///
3535
/// See [the tests][tests] for quotation examples.
3636
///
37-
/// [tests]: https://github.com/GitoxideLabs/gitoxide/blob/e355b4ad133075152312816816af5ce72cf79cff/gix-odb/src/alternate/unquote.rs#L110-L118
37+
/// [tests]: https://github.com/GitoxideLabs/gitoxide/blob/64872690e60efdd9267d517f4d9971eecd3b875c/gix-quote/tests/quote.rs#L57-L74
3838
pub fn undo(input: &BStr) -> Result<(Cow<'_, BStr>, usize), undo::Error> {
3939
if !input.starts_with(b"\"") {
4040
return Ok((input.into(), input.len()));

gix-ref/src/parse.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn is_hex_digit_lc(b: u8) -> bool {
55
matches!(b, b'0'..=b'9' | b'a'..=b'f')
66
}
77

8-
/// Copy from https://github.com/GitoxideLabs/gitoxide/blob/f270850ff92eab15258023b8e59346ec200303bd/gix-object/src/immutable/parse.rs#L64
8+
/// Copy from https://github.com/GitoxideLabs/gitoxide/blob/64872690e60efdd9267d517f4d9971eecd3b875c/gix-object/src/parse.rs#L60-L67
99
pub fn hex_hash<'a, E: ParserError<&'a [u8]>>(i: &mut &'a [u8]) -> PResult<&'a BStr, E> {
1010
// NOTE: It's important to be able to read all hashes, do not parameterize it. Hashes can be rejected at a later stage
1111
// if needed.

0 commit comments

Comments
 (0)