@matheusbsbs / matheus-bagliano / commits / 98e1a4186a
Fork 0

Correct missing SP characters in grammar comment at top of fast-import.c

Signed-off-by: Elijah Newren <newren@gmail.com> Acked-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Elijah Newren committed Mar 25, 2009 at 15:22 UTC 98e1a4186acd4b71da1daae5c522cb6ac6d1d904
1 file changed +4 -3
fast-import.c
+4 -3
@@ -1,4 +1,5 @@
1 /*
2 +(See Documentation/git-fast-import.txt for maintained documentation.)
3 Format of STDIN stream:
4
5 stream ::= cmd*;
@@ -18,8 +19,8 @@ Format of STDIN stream:
19
20 new_commit ::= 'commit' sp ref_str lf
21 mark?
21 - ('author' sp name '<' email '>' when lf)?
22 - 'committer' sp name '<' email '>' when lf
22 + ('author' sp name sp '<' email '>' sp when lf)?
23 + 'committer' sp name sp '<' email '>' sp when lf
24 commit_msg
25 ('from' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf)?
26 ('merge' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf)*
@@ -43,7 +44,7 @@ Format of STDIN stream:
44
45 new_tag ::= 'tag' sp tag_str lf
46 'from' sp (ref_str | hexsha1 | sha1exp_str | idnum) lf
46 - ('tagger' sp name '<' email '>' when lf)?
47 + ('tagger' sp name sp '<' email '>' sp when lf)?
48 tag_msg;
49 tag_msg ::= data;
50