@matheusbsbs / matheus-bagliano / commits / c905e09006
Fork 0

Fix whitespace in "Format of STDIN stream" of fast-import

Something probably assumed that HT indentation is 4 characters. Signed-off-by: Alex Riesen <raa.lkml@gmail.com> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>

Alex Riesen committed Jul 15, 2007 at 10:57 UTC c905e09006838c209be842dbe740943b2ad2d25b
1 file changed +11 -11
fast-import.c
+11 -11
@@ -11,7 +11,7 @@ Format of STDIN stream:
11 ;
12
13 new_blob ::= 'blob' lf
14 - mark?
14 + mark?
15 file_content;
16 file_content ::= data;
17
@@ -42,7 +42,7 @@ Format of STDIN stream:
42
43 new_tag ::= 'tag' sp tag_str lf
44 'from' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf
45 - 'tagger' sp name '<' email '>' when lf
45 + 'tagger' sp name '<' email '>' when lf
46 tag_msg;
47 tag_msg ::= data;
48
@@ -56,9 +56,9 @@ Format of STDIN stream:
56 # note: the first idnum in a stream should be 1 and subsequent
57 # idnums should not have gaps between values as this will cause
58 # the stream parser to reserve space for the gapped values. An
59 - # idnum can be updated in the future to a new object by issuing
59 + # idnum can be updated in the future to a new object by issuing
60 # a new mark directive with the old idnum.
61 - #
61 + #
62 mark ::= 'mark' sp idnum lf;
63 data ::= (delimited_data | exact_data)
64 lf;
@@ -68,7 +68,7 @@ Format of STDIN stream:
68 # delim.
69 delimited_data ::= 'data' sp '<<' delim lf
70 (data_line lf)*
71 - delim lf;
71 + delim lf;
72
73 # note: declen indicates the length of binary_data in bytes.
74 # declen does not include the lf preceeding the binary data.
@@ -78,10 +78,10 @@ Format of STDIN stream:
78
79 # note: quoted strings are C-style quoting supporting \c for
80 # common escapes of 'c' (e..g \n, \t, \\, \") or \nnn where nnn
81 - # is the signed byte value in octal. Note that the only
81 + # is the signed byte value in octal. Note that the only
82 # characters which must actually be escaped to protect the
83 # stream formatting is: \, " and LF. Otherwise these values
84 - # are UTF8.
84 + # are UTF8.
85 #
86 ref_str ::= ref;
87 sha1exp_str ::= sha1exp;
@@ -104,9 +104,9 @@ Format of STDIN stream:
104 lf ::= # ASCII newline (LF) character;
105
106 # note: a colon (':') must precede the numerical value assigned to
107 - # an idnum. This is to distinguish it from a ref or tag name as
107 + # an idnum. This is to distinguish it from a ref or tag name as
108 # GIT does not permit ':' in ref or tag strings.
109 - #
109 + #
110 idnum ::= ':' bigint;
111 path ::= # GIT style file path, e.g. "a/b/c";
112 ref ::= # GIT ref name, e.g. "refs/heads/MOZ_GECKO_EXPERIMENT";
@@ -115,9 +115,9 @@ Format of STDIN stream:
115 hexsha1 ::= # SHA1 in hexadecimal format;
116
117 # note: name and email are UTF8 strings, however name must not
118 - # contain '<' or lf and email must not contain any of the
118 + # contain '<' or lf and email must not contain any of the
119 # following: '<', '>', lf.
120 - #
120 + #
121 name ::= # valid GIT author/committer name;
122 email ::= # valid GIT author/committer email;
123 ts ::= # time since the epoch in seconds, ascii base10 notation;