@@ -371,7 +371,7 @@ int git_smart__negotiate_fetch(git_transport *transport, git_repository *repo, c
371371 } else if (pkt_type == GIT_PKT_NAK ) {
372372 continue ;
373373 } else {
374- git_error_set (GIT_ERROR_NET , "Unexpected pkt type" );
374+ git_error_set (GIT_ERROR_NET , "unexpected pkt type" );
375375 error = -1 ;
376376 goto on_error ;
377377 }
@@ -439,7 +439,7 @@ int git_smart__negotiate_fetch(git_transport *transport, git_repository *repo, c
439439 return error ;
440440
441441 if (pkt_type != GIT_PKT_ACK && pkt_type != GIT_PKT_NAK ) {
442- git_error_set (GIT_ERROR_NET , "Unexpected pkt type" );
442+ git_error_set (GIT_ERROR_NET , "unexpected pkt type" );
443443 return -1 ;
444444 }
445445 } else {
@@ -460,7 +460,7 @@ static int no_sideband(transport_smart *t, struct git_odb_writepack *writepack,
460460
461461 do {
462462 if (t -> cancelled .val ) {
463- git_error_set (GIT_ERROR_NET , "The fetch was cancelled by the user" );
463+ git_error_set (GIT_ERROR_NET , "the fetch was cancelled by the user" );
464464 return GIT_EUSER ;
465465 }
466466
@@ -831,7 +831,7 @@ static int parse_report(transport_smart *transport, git_push *push)
831831 if (data_pkt_buf .size > 0 ) {
832832 /* If there was data remaining in the pack data buffer,
833833 * then the server sent a partial pkt-line */
834- git_error_set (GIT_ERROR_NET , "Incomplete pack data pkt-line" );
834+ git_error_set (GIT_ERROR_NET , "incomplete pack data pkt-line" );
835835 error = GIT_ERROR ;
836836 }
837837 goto done ;
0 commit comments