Skip to content

Commit 748aa1a

Browse files
phillipwoodgitster
authored andcommitted
Use "whitespace" consistently
Most of the messages and documentation use 'whitespace' rather than 'white space' or 'white spaces' convert to latter two to the former for consistency. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Reviewed-by: Stefan Beller <sbeller@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent fbafb7c commit 748aa1a

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Documentation/diff-options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ dimmed-zebra::
298298
settings. It is the same as `--color-moved=no`.
299299

300300
--color-moved-ws=<modes>::
301-
This configures how white spaces are ignored when performing the
301+
This configures how whitespace is ignored when performing the
302302
move detection for `--color-moved`.
303303
ifdef::git-diff[]
304304
It can be set by the `diff.colorMovedWS` configuration setting.
@@ -316,7 +316,7 @@ ignore-all-space::
316316
Ignore whitespace when comparing lines. This ignores differences
317317
even if one line has whitespace where the other line has none.
318318
allow-indentation-change::
319-
Initially ignore any white spaces in the move detection, then
319+
Initially ignore any whitespace in the move detection, then
320320
group the moved code blocks only into a block if the change in
321321
whitespace is the same per line. This is incompatible with the
322322
other modes.

Documentation/git-cat-file.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ In the second form, a list of objects (separated by linefeeds) is provided on
2323
stdin, and the SHA-1, type, and size of each object is printed on stdout. The
2424
output format can be overridden using the optional `<format>` argument. If
2525
either `--textconv` or `--filters` was specified, the input is expected to
26-
list the object names followed by the path name, separated by a single white
27-
space, so that the appropriate drivers can be determined.
26+
list the object names followed by the path name, separated by a single
27+
whitespace, so that the appropriate drivers can be determined.
2828

2929
OPTIONS
3030
-------
@@ -79,15 +79,15 @@ OPTIONS
7979
Print object information and contents for each object provided
8080
on stdin. May not be combined with any other options or arguments
8181
except `--textconv` or `--filters`, in which case the input lines
82-
also need to specify the path, separated by white space. See the
82+
also need to specify the path, separated by whitespace. See the
8383
section `BATCH OUTPUT` below for details.
8484

8585
--batch-check::
8686
--batch-check=<format>::
8787
Print object information for each object provided on stdin. May
8888
not be combined with any other options or arguments except
8989
`--textconv` or `--filters`, in which case the input lines also
90-
need to specify the path, separated by white space. See the
90+
need to specify the path, separated by whitespace. See the
9191
section `BATCH OUTPUT` below for details.
9292

9393
--batch-all-objects::

diff.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ static int parse_color_moved_ws(const char *arg)
320320

321321
if ((ret & COLOR_MOVED_WS_ALLOW_INDENTATION_CHANGE) &&
322322
(ret & XDF_WHITESPACE_FLAGS))
323-
die(_("color-moved-ws: allow-indentation-change cannot be combined with other white space modes"));
323+
die(_("color-moved-ws: allow-indentation-change cannot be combined with other whitespace modes"));
324324

325325
string_list_clear(&l, 0);
326326

0 commit comments

Comments
 (0)