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 <hardikxk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
seen^2
Hardik Kumar 2026-09-01 00:59:13 +05:30 committed by Junio C Hamano
parent e9019fcafe
commit c486c1df72
2 changed files with 2 additions and 2 deletions

View File

@ -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


View File

@ -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