Skip to content

Commit 115a40a

Browse files
dregadgitster
authored andcommitted
git-check-ref-format: clarify documentation for --normalize
Use of 'iff' may be confusing to people not familiar with this term. Improving the --normalize option's documentation to remove the use of 'iff', and clearly describe what happens when the condition is not met. Signed-off-by: Damien Regad <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3b9e3c2 commit 115a40a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/git-check-ref-format.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ OPTIONS
100100
--normalize::
101101
Normalize 'refname' by removing any leading slash (`/`)
102102
characters and collapsing runs of adjacent slashes between
103-
name components into a single slash. Iff the normalized
103+
name components into a single slash. If the normalized
104104
refname is valid then print it to standard output and exit
105-
with a status of 0. (`--print` is a deprecated way to spell
106-
`--normalize`.)
105+
with a status of 0, otherwise exit with a non-zero status.
106+
(`--print` is a deprecated way to spell `--normalize`.)
107107

108108

109109
EXAMPLES

0 commit comments

Comments
 (0)