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>
David J. Mellor committed
Mar 22, 2009 at 18:00 UTC
3460a60064652dd79c1017c6701228d3c53ab3a4
1 file changed
+8
-8
Documentation/git-check-attr.txt
+8
-8
@@ -14,7 +14,7 @@ SYNOPSIS
14
15
DESCRIPTION
16
-----------
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',
18
'set', or 'unset' as a gitattribute on that pathname.
19
20
OPTIONS
@@ -23,11 +23,11 @@ OPTIONS
23
Read file names from stdin instead of from the command-line.
24
25
-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.
28
29
\--::
30
- Interpret all preceding arguments as attributes, and all following
30
+ Interpret all preceding arguments as attributes and all following
31
arguments as path names. If not supplied, only the first argument will
32
be treated as an attribute.
33
@@ -37,12 +37,12 @@ OUTPUT
37
The output is of the form:
38
<path> COLON SP <attribute> COLON SP <info> LF
39
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
41
being queried and <info> can be either:
42
43
'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.
46
<value>;; when a value has been assigned to the attribute.
47
48
EXAMPLES
@@ -69,7 +69,7 @@ org/example/MyClass.java: diff: java
69
org/example/MyClass.java: myAttr: set
70
---------------
71
72
-* Listing attribute for multiple files:
72
+* Listing an attribute for multiple files:
73
---------------
74
$ git check-attr myAttr -- org/example/MyClass.java org/example/NoMyAttr.java
75
org/example/MyClass.java: myAttr: set