History

Fix typos

Kian-Meng Ang committed 4 years ago

Commit e9fcb701 parent aa639d858 files · +73 −73Browse files

Showing the changes to git-protocol/src/fetch (3 of 58 files). Show all

Unified · Split

3 files
  1. git-protocol/src/fetch/response/async_io.rs +1 −1
  2. git-protocol/src/fetch/response/blocking_io.rs +1 −1
  3. git-protocol/src/fetch/tests/arguments.rs +1 −1
git-protocol/src/fetch/response/async_io.rs+1−1
@@ -46,7 +46,7 @@ impl Response { · 45 unmodified lines
4646 line.clear();
4747 let peeked_line = match reader.peek_data_line().await {
4848 Some(Ok(Ok(line))) => String::from_utf8_lossy(line),
49− // This special case (hang/block forver) deals with a single NAK being a legitimate EOF sometimes
49+ // This special case (hang/block forever) deals with a single NAK being a legitimate EOF sometimes
5050 // Note that this might block forever in stateful connections as there it's not really clear
5151 // if something will be following or not by just looking at the response. Instead you have to know
5252 // the arguments sent to the server and count response lines based on intricate knowledge on how the
git-protocol/src/fetch/response/blocking_io.rs+1−1
@@ -45,7 +45,7 @@ impl Response { · 44 unmodified lines
4545 line.clear();
4646 let peeked_line = match reader.peek_data_line() {
4747 Some(Ok(Ok(line))) => String::from_utf8_lossy(line),
48− // This special case (hang/block forver) deals with a single NAK being a legitimate EOF sometimes
48+ // This special case (hang/block forever) deals with a single NAK being a legitimate EOF sometimes
4949 // Note that this might block forever in stateful connections as there it's not really clear
5050 // if something will be following or not by just looking at the response. Instead you have to know
5151 // the arguments sent to the server and count response lines based on intricate knowledge on how the
git-protocol/src/fetch/tests/arguments.rs+1−1
@@ -239,7 +239,7 @@ mod v2 { · 238 unmodified lines
239239 0009done
240240 0000"
241241 .as_bstr(),
242− "we filter features/capabilities without value as these apparently sholdn't be listed (remote dies otherwise)"
242+ "we filter features/capabilities without value as these apparently shouldn't be listed (remote dies otherwise)"
243243 );
244244 }
245245