{"thread":{"id":"66242","subject":"[PATCH v3] versioncmp: fix typo in versioncmp.c, t/t0022-crlf-rename.sh","startedAt":"2026-08-31T19:29:19Z","lastAt":"2026-08-31T22:10:07Z","messageCount":2,"participants":["Hardik Kumar","Junio C Hamano"],"isPatch":true,"patchVersion":3,"patchTotal":null},"messages":[{"id":"551597","messageId":"20260901-typo-fix-v3-1-cc342f329190@gmail.com","threadId":"66242","inReplyTo":null,"subject":"[PATCH v3] versioncmp: fix typo in versioncmp.c, t/t0022-crlf-rename.sh","fromName":"Hardik Kumar","fromEmail":"hardikxk@gmail.com","sentAt":"2026-08-31T19:29:13Z","receivedAt":"2026-08-31T19:29:19Z","isPatch":true,"body":"The patch fixes two typos in two places.\nversioncmp.c:           \"fractionnal\" -> \"fractional\"\nt/t0022-crlf-rename.sh: \"similiarity\" -> \"similarity\"\n\nNo functional changes, only update a comment and a test_description.\n\nSigned-off-by: Hardik Kumar <hardikxk@gmail.com>\n---\nChanges in v3:\n- fix file name typo in commit message body\n- Link to v2: https://lore.kernel.org/r/20260901-typo-fix-v2-1-6aeafbae6389@gmail.com\n\nChanges in v2:\n- refactor commit message\n- Link to v1: https://lore.kernel.org/r/20260828-typo-fix-v1-1-24e80a87ed53@gmail.com\n---\n t/t0022-crlf-rename.sh | 2 +-\n versioncmp.c           | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\ndiff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh\nindex 9bd863a970..328c6e5903 100755\n--- a/t/t0022-crlf-rename.sh\n+++ b/t/t0022-crlf-rename.sh\n@@ -1,6 +1,6 @@\n #!/bin/sh\n \n-test_description='ignore CR in CRLF sequence while computing similiarity'\n+test_description='ignore CR in CRLF sequence while computing similarity'\n \n . ./test-lib.sh\n \ndiff --git a/versioncmp.c b/versioncmp.c\nindex 3a81b17bc1..f1e451755a 100644\n--- a/versioncmp.c\n+++ b/versioncmp.c\n@@ -15,7 +15,7 @@\n \n /*\n  * states: S_N: normal, S_I: comparing integral part, S_F: comparing\n- * fractionnal parts, S_Z: idem but with leading Zeroes only\n+ * fractional parts, S_Z: idem but with leading Zeroes only\n  */\n #define  S_N    0x0\n #define  S_I    0x3\n\n---\nbase-commit: f78ce2f7b6df702f93d40b85d6bda92a3f65da79\nchange-id: 20260828-typo-fix-721b77177721\n\n"},{"id":"551608","messageId":"xmqqik4quekj.fsf@gitster.g","threadId":"66242","inReplyTo":"20260901-typo-fix-v3-1-cc342f329190@gmail.com","subject":"Re: [PATCH v3] versioncmp: fix typo in versioncmp.c, t/t0022-crlf-rename.sh","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2026-08-31T22:10:04Z","receivedAt":"2026-08-31T22:10:07Z","isPatch":true,"body":"Hardik Kumar <hardikxk@gmail.com> writes:\n\n> The patch fixes two typos in two places.\n> versioncmp.c:           \"fractionnal\" -> \"fractional\"\n> t/t0022-crlf-rename.sh: \"similiarity\" -> \"similarity\"\n>\n> No functional changes, only update a comment and a test_description.\n>\n> Signed-off-by: Hardik Kumar <hardikxk@gmail.com>\n> ---\n> Changes in v3:\n> - fix file name typo in commit message body\n> - Link to v2: https://lore.kernel.org/r/20260901-typo-fix-v2-1-6aeafbae6389@gmail.com\n\nThanks.  Applied.\n\n>\n> Changes in v2:\n> - refactor commit message\n> - Link to v1: https://lore.kernel.org/r/20260828-typo-fix-v1-1-24e80a87ed53@gmail.com\n> ---\n>  t/t0022-crlf-rename.sh | 2 +-\n>  versioncmp.c           | 2 +-\n>  2 files changed, 2 insertions(+), 2 deletions(-)\n>\n> diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh\n> index 9bd863a970..328c6e5903 100755\n> --- a/t/t0022-crlf-rename.sh\n> +++ b/t/t0022-crlf-rename.sh\n> @@ -1,6 +1,6 @@\n>  #!/bin/sh\n>  \n> -test_description='ignore CR in CRLF sequence while computing similiarity'\n> +test_description='ignore CR in CRLF sequence while computing similarity'\n>  \n>  . ./test-lib.sh\n>  \n> diff --git a/versioncmp.c b/versioncmp.c\n> index 3a81b17bc1..f1e451755a 100644\n> --- a/versioncmp.c\n> +++ b/versioncmp.c\n> @@ -15,7 +15,7 @@\n>  \n>  /*\n>   * states: S_N: normal, S_I: comparing integral part, S_F: comparing\n> - * fractionnal parts, S_Z: idem but with leading Zeroes only\n> + * fractional parts, S_Z: idem but with leading Zeroes only\n>   */\n>  #define  S_N    0x0\n>  #define  S_I    0x3\n>\n> ---\n> base-commit: f78ce2f7b6df702f93d40b85d6bda92a3f65da79\n> change-id: 20260828-typo-fix-721b77177721\n"}]}