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 <dregad@mantisbt.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Damien Regad committed
Feb 19, 2017 at 23:32 UTC
115a40add6140577978bdd3742f63eb3fdd00c80
1 file changed
+3
-3
Documentation/git-check-ref-format.txt
+3
-3
@@ -100,10 +100,10 @@ OPTIONS
100
--normalize::
101
Normalize 'refname' by removing any leading slash (`/`)
102
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
104
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`.)
107
108
109
EXAMPLES