Skip to content

Commit 3460a60

Browse files
dmellorgitster
authored andcommitted
Documentation: minor grammatical fixes in git-check-attr.txt
Signed-off-by: David J. Mellor <dmellor@whistlingcat.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent d83a42f commit 3460a60

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Documentation/git-check-attr.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SYNOPSIS
1414

1515
DESCRIPTION
1616
-----------
17-
For every pathname, this command will list if each attr is 'unspecified',
17+
For every pathname, this command will list if each attribute is 'unspecified',
1818
'set', or 'unset' as a gitattribute on that pathname.
1919

2020
OPTIONS
@@ -23,11 +23,11 @@ OPTIONS
2323
Read file names from stdin instead of from the command-line.
2424

2525
-z::
26-
Only meaningful with `--stdin`; paths are separated with
27-
NUL character instead of LF.
26+
Only meaningful with `--stdin`; paths are separated with a
27+
NUL character instead of a linefeed character.
2828

2929
\--::
30-
Interpret all preceding arguments as attributes, and all following
30+
Interpret all preceding arguments as attributes and all following
3131
arguments as path names. If not supplied, only the first argument will
3232
be treated as an attribute.
3333

@@ -37,12 +37,12 @@ OUTPUT
3737
The output is of the form:
3838
<path> COLON SP <attribute> COLON SP <info> LF
3939

40-
Where <path> is the path of a file being queried, <attribute> is an attribute
40+
<path> is the path of a file being queried, <attribute> is an attribute
4141
being queried and <info> can be either:
4242

4343
'unspecified';; when the attribute is not defined for the path.
44-
'unset';; when the attribute is defined to false.
45-
'set';; when the attribute is defined to true.
44+
'unset';; when the attribute is defined as false.
45+
'set';; when the attribute is defined as true.
4646
<value>;; when a value has been assigned to the attribute.
4747

4848
EXAMPLES
@@ -69,7 +69,7 @@ org/example/MyClass.java: diff: java
6969
org/example/MyClass.java: myAttr: set
7070
---------------
7171

72-
* Listing attribute for multiple files:
72+
* Listing an attribute for multiple files:
7373
---------------
7474
$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java
7575
org/example/MyClass.java: myAttr: set

0 commit comments

Comments
 (0)