From c486c1df728652ee3c87d395bbe5217f7fc07ce8 Mon Sep 17 00:00:00 2001 From: Hardik Kumar Date: Tue, 1 Sep 2026 00:59:13 +0530 Subject: [PATCH] versioncmp: fix typo in versioncmp.c, t/t0022-crlf-rename.sh The patch fixes two typos in two places. versioncmp.c: "fractionnal" -> "fractional" t/t0022-crlf-rename.sh: "similiarity" -> "similarity" No functional changes, only update a comment and a test_description. Signed-off-by: Hardik Kumar Signed-off-by: Junio C Hamano --- t/t0022-crlf-rename.sh | 2 +- versioncmp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t0022-crlf-rename.sh b/t/t0022-crlf-rename.sh index 9bd863a970..328c6e5903 100755 --- a/t/t0022-crlf-rename.sh +++ b/t/t0022-crlf-rename.sh @@ -1,6 +1,6 @@ #!/bin/sh -test_description='ignore CR in CRLF sequence while computing similiarity' +test_description='ignore CR in CRLF sequence while computing similarity' . ./test-lib.sh diff --git a/versioncmp.c b/versioncmp.c index 3a81b17bc1..f1e451755a 100644 --- a/versioncmp.c +++ b/versioncmp.c @@ -15,7 +15,7 @@ /* * states: S_N: normal, S_I: comparing integral part, S_F: comparing - * fractionnal parts, S_Z: idem but with leading Zeroes only + * fractional parts, S_Z: idem but with leading Zeroes only */ #define S_N 0x0 #define S_I 0x3